From c19048e87492d8111d211253143dacdc079c95bf Mon Sep 17 00:00:00 2001 From: havoc Date: Sun, 8 May 2011 21:02:21 +0000 Subject: [PATCH] don't bother using GL_ARB_texture_non_power_of_two on OSX, too buggy git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11134 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=157cb585d7c32162a9b842361603d776afc78e8c --- vid_shared.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/vid_shared.c b/vid_shared.c index a69f3be5..00dd0ab4 100644 --- a/vid_shared.c +++ b/vid_shared.c @@ -873,7 +873,10 @@ void VID_CheckExtensions(void) vid.support.arb_texture_cube_map = GL_CheckExtension("GL_ARB_texture_cube_map", NULL, "-nocubemap", false); vid.support.arb_texture_env_combine = GL_CheckExtension("GL_ARB_texture_env_combine", NULL, "-nocombine", false) || GL_CheckExtension("GL_EXT_texture_env_combine", NULL, "-nocombine", false); vid.support.arb_texture_gather = GL_CheckExtension("GL_ARB_texture_gather", NULL, "-notexturegather", false); +#ifndef __APPLE__ + // LordHavoc: too many bugs on OSX! vid.support.arb_texture_non_power_of_two = GL_CheckExtension("GL_ARB_texture_non_power_of_two", NULL, "-notexturenonpoweroftwo", false); +#endif vid.support.arb_vertex_buffer_object = GL_CheckExtension("GL_ARB_vertex_buffer_object", vbofuncs, "-novbo", false); vid.support.ati_separate_stencil = GL_CheckExtension("separatestencil", gl2separatestencilfuncs, "-noseparatestencil", true) || GL_CheckExtension("GL_ATI_separate_stencil", atiseparatestencilfuncs, "-noseparatestencil", false); vid.support.ext_blend_minmax = GL_CheckExtension("GL_EXT_blend_minmax", blendequationfuncs, "-noblendminmax", false); -- 2.39.2