1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-13 16:44:50 +02:00

#15 fix linux build

This commit is contained in:
XProger
2019-02-15 02:53:33 +03:00
parent 20816951b1
commit ac16716893

View File

@@ -210,7 +210,9 @@
#if defined(_OS_WIN) || defined(_OS_LINUX)
PFNGLGENERATEMIPMAPPROC glGenerateMipmap;
PFNGLTEXIMAGE3DPROC glTexImage3D;
#ifdef _OS_WIN
PFNGLTEXIMAGE3DPROC glTexImage3D;
#endif
// Profiling
#ifdef PROFILE
PFNGLOBJECTLABELPROC glObjectLabel;
@@ -1007,7 +1009,9 @@ namespace GAPI {
#if defined(_OS_WIN) || defined(_OS_LINUX)
GetProcOGL(glGenerateMipmap);
GetProcOGL(glTexImage3D);
#ifdef _OS_WIN
GetProcOGL(glTexImage3D);
#endif
#ifdef PROFILE
GetProcOGL(glObjectLabel);