projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Got rid of the G_LOG_DOMAIN junk, per discussion on the mailing list.
[freeglut]
/
src
/
freeglut_window.c
diff --git
a/src/freeglut_window.c
b/src/freeglut_window.c
index
e83dd75
..
34d3b90
100644
(file)
--- a/
src/freeglut_window.c
+++ b/
src/freeglut_window.c
@@
-29,8
+29,6
@@
#include "config.h"
#endif
#include "config.h"
#endif
-#define G_LOG_DOMAIN "freeglut-window"
-
#include "../include/GL/freeglut.h"
#include "freeglut_internal.h"
#include "../include/GL/freeglut.h"
#include "freeglut_internal.h"
@@
-237,8
+235,8
@@
void fgSetWindow ( SFG_Window *window )
window->Window.Device = GetDC( window->Window.Handle );
wglMakeCurrent(
window->Window.Device,
window->Window.Device = GetDC( window->Window.Handle );
wglMakeCurrent(
window->Window.Device,
- window->Window.Context
- );
+ window->Window.Context
+ );
}
#endif
fgStructure.Window = window;
}
#endif
fgStructure.Window = window;
@@
-781,7
+779,7
@@
void FGAPIENTRY glutSetIconTitle( const char* title )
#elif TARGET_HOST_WIN32
#elif TARGET_HOST_WIN32
- SetWindowText( fgStructure.Window->Window.Handle, title );
+ SetWindowText( fgStructure.Window->Window.Handle, title );
#endif
#endif
@@
-819,8
+817,8
@@
void FGAPIENTRY glutReshapeWindow( int width, int height )
*/
if ( ! fgStructure.Window->IsMenu )
{
*/
if ( ! fgStructure.Window->IsMenu )
{
- width += GetSystemMetrics( SM_CXSIZEFRAME ) * 2;
- height += GetSystemMetrics( SM_CYSIZEFRAME ) * 2 +
+ width += GetSystemMetrics( SM_CXSIZEFRAME ) * 2;
+ height += GetSystemMetrics( SM_CYSIZEFRAME ) * 2 +
GetSystemMetrics( SM_CYCAPTION );
}
}
GetSystemMetrics( SM_CYCAPTION );
}
}