mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-15 15:20:31 +01:00
progs/tests: Fix MSVC build.
This commit is contained in:
parent
ad0975f701
commit
50e113e375
1 changed files with 3 additions and 3 deletions
|
|
@ -274,9 +274,9 @@ static void Init( void )
|
|||
if (atof( ver_string ) < 2.0) {
|
||||
use20syntax = 0;
|
||||
}
|
||||
stencil_func_separate = glutGetProcAddress( "glStencilFuncSeparate" );
|
||||
stencil_func_separate_ati = glutGetProcAddress( "glStencilFuncSeparateATI" );
|
||||
stencil_op_separate = glutGetProcAddress( "glStencilOpSeparate" );
|
||||
stencil_func_separate = (PFNGLSTENCILFUNCSEPARATEPROC) glutGetProcAddress( "glStencilFuncSeparate" );
|
||||
stencil_func_separate_ati = (PFNGLSTENCILFUNCSEPARATEATIPROC) glutGetProcAddress( "glStencilFuncSeparateATI" );
|
||||
stencil_op_separate = (PFNGLSTENCILOPSEPARATEPROC) glutGetProcAddress( "glStencilOpSeparate" );
|
||||
|
||||
printf("\nAll 5 squares should be the same color.\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue