diff options
Diffstat (limited to 'x11-libs/nucleo/files/nucleo-0.1-nv.patch')
-rw-r--r-- | x11-libs/nucleo/files/nucleo-0.1-nv.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-libs/nucleo/files/nucleo-0.1-nv.patch b/x11-libs/nucleo/files/nucleo-0.1-nv.patch new file mode 100644 index 000000000000..de62c5396030 --- /dev/null +++ b/x11-libs/nucleo/files/nucleo-0.1-nv.patch @@ -0,0 +1,15 @@ +--- glTextureTile.cxx.orig 2004-11-17 17:43:36.000000000 +0900 ++++ glTextureTile.cxx 2004-12-03 19:43:59.000000000 +0900 +@@ -32,10 +32,9 @@ + getTargetName(GLenum target) { + switch(target) { + case GL_TEXTURE_2D: return "GL_TEXTURE_2D" ; +-#ifdef GL_TEXTURE_RECTANGLE_EXT ++#if defined(GL_TEXTURE_RECTANGLE_EXT) + case GL_TEXTURE_RECTANGLE_EXT: return "GL_TEXTURE_RECTANGLE_EXT" ; +-#endif +-#ifdef GL_TEXTURE_RECTANGLE_NV ++#elif defined(GL_TEXTURE_RECTANGLE_NV) + case GL_TEXTURE_RECTANGLE_NV: return "GL_TEXTURE_RECTANGLE_NV" ; + #endif + default: return "<unknown>" ; |