diff options
author | CNLohr <lohr85@gmail.com> | 2017-03-22 04:44:15 -0400 |
---|---|---|
committer | CNLohr <lohr85@gmail.com> | 2017-03-22 04:44:15 -0400 |
commit | c72b1dd68a653dff2be9915750d2f6535a6db3bd (patch) | |
tree | 37f446ee005c6b1787c86f8220cd02ef1e4e46dc /redist | |
parent | 3694605b23b1019488844bf448d461eacc69077f (diff) | |
download | libsurvive-c72b1dd68a653dff2be9915750d2f6535a6db3bd.tar.gz libsurvive-c72b1dd68a653dff2be9915750d2f6535a6db3bd.tar.bz2 |
Fix Windows compile if OGL is turned on.
Diffstat (limited to 'redist')
-rw-r--r-- | redist/CNFGFunctions.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/redist/CNFGFunctions.c b/redist/CNFGFunctions.c index e93eb6f..25e9298 100644 --- a/redist/CNFGFunctions.c +++ b/redist/CNFGFunctions.c @@ -274,6 +274,10 @@ void CNFGDrawTextbox( int x, int y, const char * text, int textsize ) #ifdef CNFGOGL +#ifdef _MSC_VER +#include <windows.h> +#pragma comment( lib, "OpenGL32.lib" ) +#endif #include <GL/gl.h> uint32_t CNFGColor( uint32_t RGB ) |