1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-04 10:03:36 +00:00

Add glTexStorage2D to GLFunctions

This commit is contained in:
Sergey Lipskiy 2016-10-28 21:43:31 +07:00
parent 6e460499bf
commit 428f3ad637
2 changed files with 6 additions and 0 deletions

View File

@ -114,6 +114,8 @@ PFNGLGETPROGRAMBINARYPROC glGetProgramBinary;
PFNGLPROGRAMBINARYPROC glProgramBinary;
PFNGLPROGRAMPARAMETERIPROC glProgramParameteri;
PFNGLTEXSTORAGE2DPROC glTexStorage2D;
void initGLFunctions()
{
#ifdef EGL
@ -217,4 +219,6 @@ void initGLFunctions()
glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)glGetProcAddress("glGetProgramBinary");
glProgramBinary = (PFNGLPROGRAMBINARYPROC)glGetProcAddress("glProgramBinary");
glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)glGetProcAddress("glProgramParameteri");
glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)glGetProcAddress("glTexStorage2D");
}

View File

@ -104,4 +104,6 @@ extern PFNGLGETPROGRAMBINARYPROC glGetProgramBinary;
extern PFNGLPROGRAMBINARYPROC glProgramBinary;
extern PFNGLPROGRAMPARAMETERIPROC glProgramParameteri;
extern PFNGLTEXSTORAGE2DPROC glTexStorage2D;
#endif // GLFUNCTIONS_H