glapi: alias FramebufferTextureARB to FramebufferTexture
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 26 Oct 2012 22:33:13 +0000 (15:33 -0700)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 3 Nov 2012 17:54:40 +0000 (10:54 -0700)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Paul Berry <stereotype441@gmail.com>
src/mapi/glapi/gen/ARB_geometry_shader4.xml
src/mesa/main/api_exec.c
src/mesa/main/dlist.c

index d9e540fc94d0a1102e52c3c3af4afb3324b86e72..3c4beece6e4589c0d287522969e71151922cf5fa 100644 (file)
@@ -32,7 +32,7 @@
         <param name="pname" type="GLenum"/>
         <param name="value" type="GLint"/>
     </function>
-    <function name="FramebufferTextureARB"  offset="assign">
+    <function name="FramebufferTextureARB"  alias="FramebufferTexture">
         <param name="target" type="GLenum"/>
         <param name="attachment" type="GLenum"/>
         <param name="texture" type="GLuint"/>
index e92eb0e139096a600d2009cec5a55f1e08a75935..8f9672a3c32e112c290a35da5890012ce2499665 100644 (file)
@@ -788,7 +788,7 @@ _mesa_create_exec_table(struct gl_context *ctx)
    }
 
    if (_mesa_is_desktop_gl(ctx)) {
-      SET_FramebufferTextureARB(exec, _mesa_FramebufferTextureARB);
+      SET_FramebufferTexture(exec, _mesa_FramebufferTextureARB);
       SET_FramebufferTextureFaceARB(exec, _mesa_FramebufferTextureFaceARB);
    }
 
index d53879efd51845d37f2558c5f849c7777c271d0a..94bfb781d20687cd574734db040b2aed1ac7ac5b 100644 (file)
@@ -7196,7 +7196,7 @@ save_FramebufferTexture(GLenum target, GLenum attachment,
       n[4].i = level;
    }
    if (ctx->ExecuteFlag) {
-      CALL_FramebufferTextureARB(ctx->Exec, (target, attachment, texture, level));
+      CALL_FramebufferTexture(ctx->Exec, (target, attachment, texture, level));
    }
 }
 
@@ -8512,7 +8512,7 @@ execute_list(struct gl_context *ctx, GLuint list)
             CALL_ProgramParameteriARB(ctx->Exec, (n[1].ui, n[2].e, n[3].i));
             break;
          case OPCODE_FRAMEBUFFER_TEXTURE:
-            CALL_FramebufferTextureARB(ctx->Exec, (n[1].e, n[2].e,
+            CALL_FramebufferTexture(ctx->Exec, (n[1].e, n[2].e,
                                                    n[3].ui, n[4].i));
             break;
          case OPCODE_FRAMEBUFFER_TEXTURE_FACE:
@@ -10213,7 +10213,7 @@ _mesa_create_save_table(const struct gl_context *ctx)
 
    /* GL_ARB_geometry_shader4 */
    SET_ProgramParameteriARB(table, save_ProgramParameteri);
-   SET_FramebufferTextureARB(table, save_FramebufferTexture);
+   SET_FramebufferTexture(table, save_FramebufferTexture);
    SET_FramebufferTextureFaceARB(table, save_FramebufferTextureFace);
 
    /* GL_NV_conditional_render */