Browse Source

rename set_win_handle_window in glcontext_set_window

mikymod 12 years ago
parent
commit
e9229a0078
2 changed files with 3 additions and 3 deletions
  1. 2 2
      engine/renderers/gl/wgl/GLContext.cpp
  2. 1 1
      engine/renderers/gl/wgl/GLContext.h

+ 2 - 2
engine/renderers/gl/wgl/GLContext.cpp

@@ -34,9 +34,9 @@ namespace crown
 static HWND g_handle_window;
 
 //-----------------------------------------------------------------------------
-void set_win_handle_window(HWND win)
+void glcontext_set_window(HWND handle)
 {
-	g_handle_window = win;
+	g_handle_window = handle;
 
 	CE_ASSERT(g_handle_window != 0, "Unable to set Windows handle");
 }

+ 1 - 1
engine/renderers/gl/wgl/GLContext.h

@@ -33,7 +33,7 @@ OTHER DEALINGS IN THE SOFTWARE.
 namespace crown
 {
 
-CE_EXPORT void set_win_handle_window(HWND win);
+CE_EXPORT void glcontext_set_window(HWND handle);
 
 class GLContext
 {