mirror of
https://github.com/nzp-team/dquakeplus.git
synced 2025-02-18 09:31:31 +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.");
|
Sys_Error("Out of RAM for textures.");
|
||||||
}
|
}
|
||||||
|
|
||||||
// Allocate the VRAM.
|
// Allocate the VRAM. causes problems?
|
||||||
texture.vram = static_cast<texel*>(quake::vram::allocate(buffer_size));
|
// texture.vram = static_cast<texel*>(vramalloc(buffer_size));
|
||||||
|
|
||||||
// Upload the texture.
|
// Upload the texture.
|
||||||
GL_Upload4(texture_index, data, width, height);
|
GL_Upload4(texture_index, data, width, height);
|
||||||
|
|
Loading…
Reference in a new issue