mirror of
https://github.com/ZDoom/Raze.git
synced 2025-06-04 11:11:04 +00:00
Polymost palette-indexed texture rendering
git-svn-id: https://svn.eduke32.com/eduke32@6776 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
f19607daa8
commit
a364b7bbfd
18 changed files with 784 additions and 155 deletions
|
@ -434,7 +434,7 @@ void animvpx_setup_glstate(int32_t animvpx_flags)
|
|||
OSD_Printf("animvpx link log: %s\n", logbuf);
|
||||
|
||||
/* Finally, use the program. */
|
||||
glUseProgram(PHandle);
|
||||
useShaderProgram(PHandle);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
@ -490,7 +490,10 @@ void animvpx_restore_glstate(void)
|
|||
{
|
||||
#ifdef USE_GLEXT
|
||||
if (glinfo.glsl)
|
||||
glUseProgram(0);
|
||||
{
|
||||
useShaderProgram(0);
|
||||
polymost_resetProgram();
|
||||
}
|
||||
#endif
|
||||
|
||||
// glPopAttrib();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue