git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54395 e17a0e51-4ae3-4d35-97c3-1a29b211df97
This commit is contained in:
parent
4ef64d0097
commit
566208a265
|
@ -10,6 +10,7 @@ July 9, 2010 Wei Mingzhi <whistler_wmz@users.sf.net>
|
|||
* plugins/dfcdrom/cdr-linux.c: Likewise.
|
||||
* plugins/dfcdrom/cdrcfg-0.1df/main.c: Added device listing for Solaris.
|
||||
* configure.ac: Fixed FTBFS on Solaris.
|
||||
* plugins/peopsxgl/draw.c: Don't use glColorTableEXT on Solaris.
|
||||
|
||||
July 8, 2010 Wei Mingzhi <whistler_wmz@users.sf.net>
|
||||
|
||||
|
|
|
@ -168,6 +168,7 @@ void GetExtInfos(void)
|
|||
|
||||
glColorTableEXTEx=(PFNGLCOLORTABLEEXT)NULL; // init ogl palette func pointer
|
||||
|
||||
#ifndef __sun
|
||||
if(iGPUHeight!=1024 && // no pal textures in ZN mode (height=1024)!
|
||||
strstr((char *)glGetString(GL_EXTENSIONS), // otherwise: check ogl support
|
||||
"GL_EXT_paletted_texture"))
|
||||
|
@ -179,6 +180,9 @@ void GetExtInfos(void)
|
|||
if(glColorTableEXTEx==NULL) iUsePalTextures=0; // -> ha, cheater... no func, no support
|
||||
}
|
||||
else iUsePalTextures=0;
|
||||
#else
|
||||
iUsePalTextures=0;
|
||||
#endif
|
||||
}
|
||||
|
||||
////////////////////////////////////////////////////////////////////////
|
||||
|
|
Loading…
Reference in New Issue