From: <tr...@us...> - 2012-03-28 00:29:30
|
Revision: 15498 http://alleg.svn.sourceforge.net/alleg/?rev=15498&view=rev Author: trentg Date: 2012-03-28 00:29:24 +0000 (Wed, 28 Mar 2012) Log Message: ----------- Change some defines to use ANDROID_LEGACY instead of NO_GLES2 where it makes more sense Modified Paths: -------------- allegro/branches/5.1/src/opengl/ogl_display.c Modified: allegro/branches/5.1/src/opengl/ogl_display.c =================================================================== --- allegro/branches/5.1/src/opengl/ogl_display.c 2012-03-28 00:26:10 UTC (rev 15497) +++ allegro/branches/5.1/src/opengl/ogl_display.c 2012-03-28 00:29:24 UTC (rev 15498) @@ -119,7 +119,7 @@ /* You'll see this a couple times in this file: some ES 1.1 functions aren't implemented on * Android. This is an ugly workaround. */ -#if defined ALLEGRO_ANDROID && defined ALLEGRO_CFG_NO_GLES2 +#if defined ALLEGRO_CFG_ANDROID_LEGACY if (false) #else if (glCheckFramebufferStatusEXT(GL_FRAMEBUFFER_EXT) != @@ -266,7 +266,7 @@ GL_TEXTURE_2D, ogl_bitmap->texture, 0); /* See comment about unimplemented functions on Android above */ -#if defined ALLEGRO_ANDROID && defined ALLEGRO_CFG_NO_GLES2 +#if defined ALLEGRO_CFG_ANDROID_LEGACY if (false) { #else if (glCheckFramebufferStatusEXT(GL_FRAMEBUFFER_EXT) != This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |