mirror of
https://github.com/FunkyFr3sh/cnc-ddraw.git
synced 2025-03-24 17:49:52 +01:00
fix
This commit is contained in:
parent
bcde36c844
commit
7a7b84088f
@ -280,7 +280,7 @@ static void ogl_create_textures(int width, int height)
|
|||||||
{
|
{
|
||||||
glGenTextures(TEXTURE_COUNT, g_ogl.palette_tex_ids);
|
glGenTextures(TEXTURE_COUNT, g_ogl.palette_tex_ids);
|
||||||
|
|
||||||
for (i = 0; i < TEXTURE_COUNT; i++)
|
for (int i = 0; i < TEXTURE_COUNT; i++)
|
||||||
{
|
{
|
||||||
glBindTexture(GL_TEXTURE_2D, g_ogl.palette_tex_ids[i]);
|
glBindTexture(GL_TEXTURE_2D, g_ogl.palette_tex_ids[i]);
|
||||||
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
|
glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_NEAREST);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user