Code: Select all
eglSurface = eglCreateWindowSurface( eglDisplay, config, nativeWindow, NULL );
Code: Select all
static const EGLint surf_attribute_list[] = {
EGL_RENDER_BUFFER, EGL_SINGLE_BUFFER,
EGL_NONE // attribute list is termintated with EGL_NONE
};
eglSurface = eglCreateWindowSurface( eglDisplay, config, nativeWindow, surf_attribute_list );
Is there something else I need to do to switch from double to single buffering?