diff options
| author | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-07-09 05:11:21 +0000 |
|---|---|---|
| committer | SND\weimingzhi_cp <SND\weimingzhi_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2010-07-09 05:11:21 +0000 |
| commit | 566208a2651b0c063ecc37413d6923ab677ad90d (patch) | |
| tree | a4f72c303ff3a2542c5051bf76ee4e3edc3803a5 /plugins | |
| parent | 4ef64d009752b4965b73550148db4bf2d384a47a (diff) | |
| download | pcsxr-566208a2651b0c063ecc37413d6923ab677ad90d.tar.gz | |
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@54395 e17a0e51-4ae3-4d35-97c3-1a29b211df97
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/peopsxgl/draw.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/peopsxgl/draw.c b/plugins/peopsxgl/draw.c index 1d73769c..d0b70748 100644 --- a/plugins/peopsxgl/draw.c +++ b/plugins/peopsxgl/draw.c @@ -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
}
////////////////////////////////////////////////////////////////////////
|
