mimor style tidy-up.

This commit is contained in:
Ozkan Sezer 2022-11-03 06:28:00 +03:00
parent 226a0e7463
commit 96cca58a68

View file

@ -1274,7 +1274,7 @@ static void GL_CheckExtensions (void)
// glGenerateMipmap for warp textures
if (COM_CheckParm("-nowarpmipmaps"))
Con_Warning ("glGenerateMipmap disabled at command line\n");
else if ((GL_GenerateMipmap = SDL_GL_GetProcAddress("glGenerateMipmap")))
else if ((GL_GenerateMipmap = SDL_GL_GetProcAddress("glGenerateMipmap")) != NULL)
Con_Printf ("FOUND: glGenerateMipmap\n");
else
Con_Warning ("glGenerateMipmap not available, liquids won't have mipmaps\n");