This commit is contained in:
Geoff Norton 2011-04-14 19:54:33 -04:00
Родитель dff77c91e2
Коммит 3b92b45410
1 изменённых файлов: 3 добавлений и 3 удалений

Просмотреть файл

@ -291,13 +291,13 @@ MoonWindowAndroid::Paint (android_app *app)
eglGetConfigAttrib(native_display, config, EGL_BLUE_SIZE, &b);
eglGetConfigAttrib(native_display, config, EGL_ALPHA_SIZE, &a);
eglQuerySurface(native_display, native_surface, EGL_WIDTH, &native_width);
eglQuerySurface(native_display, native_surface, EGL_HEIGHT, &native_height);
ANativeWindow_setBuffersGeometry (app->window, 0, 0, format);
native_surface = eglCreateWindowSurface (native_display, config, app->window, NULL);
eglQuerySurface(native_display, native_surface, EGL_WIDTH, &native_width);
eglQuerySurface(native_display, native_surface, EGL_HEIGHT, &native_height);
const char* const egl_extensions = eglQueryString (native_display, EGL_EXTENSIONS);
g_warning ("EGL informations:");