mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2024-11-29 15:11:54 +00:00
remove vram alloc, doesn't work for some reason, it's fast enough anyway
This commit is contained in:
parent
bd1b011139
commit
876c28b366
1 changed files with 2 additions and 2 deletions
|
@ -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<texel*>(quake::vram::allocate(buffer_size));
|
||||
// Allocate the VRAM. causes problems?
|
||||
// texture.vram = static_cast<texel*>(vramalloc(buffer_size));
|
||||
|
||||
// Upload the texture.
|
||||
GL_Upload4(texture_index, data, width, height);
|
||||
|
|
Loading…
Reference in a new issue