DXGL r171 - Code Review

Jump to navigation Jump to search
Repository:DXGL
Revision:r170‎ | r171 | r172 >
Date:19:46, 19 June 2012
Author:admin
Status:new
Tags:
Comment:
Inhibit loss of GUI. Works on NVIDIA.
Modified paths:
  • /ddraw/glRenderer.cpp (modified) (history)
  • /ddraw/glRenderer.h (modified) (history)

Diff [purge]

Index: ddraw/glRenderer.cpp
@@ -219,7 +219,7 @@
220220 if(fullscreen)
221221 {
222222 SetWindowLongPtrA(hWnd,GWL_EXSTYLE,WS_EX_APPWINDOW);
223 - SetWindowLongPtrA(hWnd,GWL_STYLE,WS_POPUP);
 223+ SetWindowLongPtrA(hWnd,GWL_STYLE,WS_OVERLAPPED);
224224 ShowWindow(hWnd,SW_MAXIMIZE);
225225 }
226226 if(width)
Index: ddraw/glRenderer.h
@@ -73,6 +73,9 @@
7474 class glDirect3DDevice7;
7575 class glDirectDrawSurface7;
7676
 77+/** @brief glRenderer class
 78+ * OpenGL renderer class for DXGL.
 79+ */
7780 class glRenderer
7881 {
7982 public: