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
|
@ -122,25 +122,3 @@ __glXDispSwap_GetProgramStringARB(struct __GLXclientStateRec *cl, GLbyte * pc)
|
||||||
|
|
||||||
return DoGetProgramString(cl, pc, get_program, get_program_string, True);
|
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…
Reference in New Issue
Block a user