mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 09:58:21 +02:00
glx: Delete dead NV program string functions.
These have been throwing a compiler warning about missing prototypes, since the generated code to define the prototypes stopped being generated (possibly because the code was dead). Signed-off-by: Eric Anholt <eric@anholt.net> Reviewed-by: Adam Jackson <ajax@redhat.com> Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
0c774d53c5
commit
9f8f6657cd
1 changed files with 0 additions and 22 deletions
|
|
@ -122,25 +122,3 @@ __glXDispSwap_GetProgramStringARB(struct __GLXclientStateRec *cl, GLbyte * pc)
|
|||
|
||||
return DoGetProgramString(cl, pc, get_program, get_program_string, True);
|
||||
}
|
||||
|
||||
int
|
||||
__glXDisp_GetProgramStringNV(struct __GLXclientStateRec *cl, GLbyte * pc)
|
||||
{
|
||||
PFNGLGETPROGRAMIVARBPROC get_program =
|
||||
__glGetProcAddress("glGetProgramivARB");
|
||||
PFNGLGETPROGRAMSTRINGARBPROC get_program_string =
|
||||
__glGetProcAddress("glGetProgramStringARB");
|
||||
|
||||
return DoGetProgramString(cl, pc, get_program, get_program_string, False);
|
||||
}
|
||||
|
||||
int
|
||||
__glXDispSwap_GetProgramStringNV(struct __GLXclientStateRec *cl, GLbyte * pc)
|
||||
{
|
||||
PFNGLGETPROGRAMIVARBPROC get_program =
|
||||
__glGetProcAddress("glGetProgramivARB");
|
||||
PFNGLGETPROGRAMSTRINGARBPROC get_program_string =
|
||||
__glGetProcAddress("glGetProgramStringARB");
|
||||
|
||||
return DoGetProgramString(cl, pc, get_program, get_program_string, True);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue