1
0
mirror of https://github.com/XProger/OpenLara.git synced 2025-08-15 01:24:35 +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) #if defined(_OS_WIN) || defined(_OS_LINUX)
PFNGLGENERATEMIPMAPPROC glGenerateMipmap; PFNGLGENERATEMIPMAPPROC glGenerateMipmap;
#ifdef _OS_WIN
PFNGLTEXIMAGE3DPROC glTexImage3D; PFNGLTEXIMAGE3DPROC glTexImage3D;
#endif
// Profiling // Profiling
#ifdef PROFILE #ifdef PROFILE
PFNGLOBJECTLABELPROC glObjectLabel; PFNGLOBJECTLABELPROC glObjectLabel;
@@ -1007,7 +1009,9 @@ namespace GAPI {
#if defined(_OS_WIN) || defined(_OS_LINUX) #if defined(_OS_WIN) || defined(_OS_LINUX)
GetProcOGL(glGenerateMipmap); GetProcOGL(glGenerateMipmap);
#ifdef _OS_WIN
GetProcOGL(glTexImage3D); GetProcOGL(glTexImage3D);
#endif
#ifdef PROFILE #ifdef PROFILE
GetProcOGL(glObjectLabel); GetProcOGL(glObjectLabel);