summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/peopsxgl/draw.c4
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
}
////////////////////////////////////////////////////////////////////////