Minor order change in Android/BlackBerry CMake, one comment for BlackBerry window

This commit is contained in:
Rcmaniac25 2013-09-06 20:09:15 -04:00
parent d584d99123
commit 62fa02baf8
2 changed files with 3 additions and 3 deletions

View File

@ -131,8 +131,8 @@ ELSEIF(ANDROID OR BLACKBERRY)
LIST(APPEND FREEGLUT_SRCS LIST(APPEND FREEGLUT_SRCS
src/android/native_app_glue/android_native_app_glue.c src/android/native_app_glue/android_native_app_glue.c
src/android/native_app_glue/android_native_app_glue.h src/android/native_app_glue/android_native_app_glue.h
src/android/fg_init_android.c
src/android/fg_internal_android.h src/android/fg_internal_android.h
src/android/fg_init_android.c
src/android/fg_input_devices_android.c src/android/fg_input_devices_android.c
src/android/fg_main_android.c src/android/fg_main_android.c
src/android/fg_main_android.h src/android/fg_main_android.h
@ -142,8 +142,8 @@ ELSEIF(ANDROID OR BLACKBERRY)
) )
ELSE() ELSE()
LIST(APPEND FREEGLUT_SRCS LIST(APPEND FREEGLUT_SRCS
src/blackberry/fg_init_blackberry.c
src/blackberry/fg_internal_blackberry.h src/blackberry/fg_internal_blackberry.h
src/blackberry/fg_init_blackberry.c
src/x11/fg_input_devices_x11.c src/x11/fg_input_devices_x11.c
src/blackberry/fg_main_blackberry.c src/blackberry/fg_main_blackberry.c
src/blackberry/fg_state_blackberry.c src/blackberry/fg_state_blackberry.c

View File

@ -64,7 +64,7 @@ void fgPlatformOpenWindow( SFG_Window* window, const char* title,
fgDisplay.pDisplay.single_native_window = sWindow; fgDisplay.pDisplay.single_native_window = sWindow;
/* Set window properties */ /* Set window properties */
int screenFormat = SCREEN_FORMAT_RGBA8888; int screenFormat = SCREEN_FORMAT_RGBA8888; //XXX Should this be determined by config?
#ifdef GL_ES_VERSION_2_0 #ifdef GL_ES_VERSION_2_0
int screenUsage = SCREEN_USAGE_OPENGL_ES2; int screenUsage = SCREEN_USAGE_OPENGL_ES2;
#elif GL_VERSION_ES_CM_1_0 || GL_VERSION_ES_CL_1_0 || GL_VERSION_ES_CM_1_1 || GL_VERSION_ES_CL_1_1 #elif GL_VERSION_ES_CM_1_0 || GL_VERSION_ES_CL_1_0 || GL_VERSION_ES_CM_1_1 || GL_VERSION_ES_CL_1_1