projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fg_geometry: remove GLES-specific #ifdefs (in code and headers), update Android test...
[freeglut]
/
src
/
android
/
fg_window_android.c
diff --git
a/src/android/fg_window_android.c
b/src/android/fg_window_android.c
index
58d612a
..
4c5d9d2
100644
(file)
--- a/
src/android/fg_window_android.c
+++ b/
src/android/fg_window_android.c
@@
-1,5
+1,5
@@
/*
/*
- * freeglut_window_android.c
+ * fg_window_android.c
*
* Window management methods for Android
*
*
* Window management methods for Android
*
@@
-30,6
+30,7
@@
#include <GL/freeglut.h>
#include "fg_internal.h"
#include "egl/fg_window_egl.h"
#include <GL/freeglut.h>
#include "fg_internal.h"
#include "egl/fg_window_egl.h"
+#include "android/fg_main_android.h"
/*
* Opens a window. Requires a SFG_Window object created and attached
/*
* Opens a window. Requires a SFG_Window object created and attached
@@
-40,14
+41,11
@@
void fgPlatformOpenWindow( SFG_Window* window, const char* title,
GLboolean sizeUse, int w, int h,
GLboolean gameMode, GLboolean isSubWindow )
{
GLboolean sizeUse, int w, int h,
GLboolean gameMode, GLboolean isSubWindow )
{
- // printf("fgPlatformOpenWindow %p ID=%d\n", (void*)window, window->ID);
-
/* TODO: only one full-screen window possible? */
static int nb_windows = 0;
if (nb_windows == 0) {
nb_windows++;
fgDisplay.pDisplay.single_window = window;
/* TODO: only one full-screen window possible? */
static int nb_windows = 0;
if (nb_windows == 0) {
nb_windows++;
fgDisplay.pDisplay.single_window = window;
- // printf("=> %p ID=%d\n", (void*)fgDisplay.pDisplay.single_window, fgDisplay.pDisplay.single_window->ID);
} else {
return;
}
} else {
return;
}