From 876c28b36659933f8141fb455f93f632d6ae3041 Mon Sep 17 00:00:00 2001 From: Shpuld Shpuldson Date: Fri, 22 Sep 2023 09:14:52 +0300 Subject: [PATCH] remove vram alloc, doesn't work for some reason, it's fast enough anyway --- source/psp/video_hardware_draw.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/psp/video_hardware_draw.cpp b/source/psp/video_hardware_draw.cpp index 2b3657c..ebe7005 100644 --- a/source/psp/video_hardware_draw.cpp +++ b/source/psp/video_hardware_draw.cpp @@ -3409,8 +3409,8 @@ int GL_LoadTexture4(const char *identifier, unsigned int width, unsigned int hei Sys_Error("Out of RAM for textures."); } - // Allocate the VRAM. - texture.vram = static_cast(quake::vram::allocate(buffer_size)); + // Allocate the VRAM. causes problems? + // texture.vram = static_cast(vramalloc(buffer_size)); // Upload the texture. GL_Upload4(texture_index, data, width, height);