00001 #pragma once 00002 00008 #include "..\stdafx.h" 00009 #include "common++.h" 00010 00011 00012 #ifdef ENABLE_OPENGL 00013 00014 #include <GL/glew.h> 00015 #include <GL/glext.h> 00016 00017 00018 // 00019 namespace jbxwl { 00020 00021 00022 HGLRC WGLCreateContext(CDC* dc, PIXELFORMATDESCRIPTOR* param); 00023 void WGLDeleteContext(HGLRC hrc); 00024 00025 BOOL WGLGetCurrent(CDC* dc, HGLRC hrc); 00026 00027 } // namespace 00028 00029 00030 00031 #endif // ENABLE_OPENGL