projects
/
summerhack
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Aspect ratio fixes for non-4:3 displays (projection and overlay)
[summerhack]
/
src
/
3dengfx
/
src
/
fxwt
/
fxwt_glut.cpp
diff --git
a/src/3dengfx/src/fxwt/fxwt_glut.cpp
b/src/3dengfx/src/fxwt/fxwt_glut.cpp
index
eded410
..
2b2717e
100644
(file)
--- a/
src/3dengfx/src/fxwt/fxwt_glut.cpp
+++ b/
src/3dengfx/src/fxwt/fxwt_glut.cpp
@@
-64,6
+64,11
@@
void fxwt::set_window_title(const char *title) {
glutSetWindowTitle(title);
}
+void fxwt::show_cursor(bool show)
+{
+ glutSetCursor(show ? GLUT_CURSOR_LEFT_ARROW : GLUT_CURSOR_NONE);
+}
+
void fxwt::swap_buffers() {
glutSetWindow(fxwt_glut_win);
glutSwapBuffers();