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:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user