We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 2484 - opengles2: SDL_RENDERER_TARGETTEXTURE + SGX544 = Black Screen
Summary: opengles2: SDL_RENDERER_TARGETTEXTURE + SGX544 = Black Screen
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: render (show other bugs)
Version: 2.0.3
Hardware: ARM Android (All)
: P2 normal
Assignee: Gabriel Jacobo
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-08 07:43 UTC by zeas
Modified: 2014-09-02 03:22 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description zeas 2014-04-08 07:43:43 UTC
I tested three SGX544 devices, all they are blacked by created with SDL_RENDERER_TARGETTEXTURE.
Comment 1 Gabriel Jacobo 2014-04-18 17:35:27 UTC
What are the commercial names of the phones/tablets? Do you have a test case or did you try one of the standard SDL2 tests like testrendercopy and testgles2?
Comment 2 zeas 2014-09-02 03:22:58 UTC
sorry I lost these two lines:
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MAJOR_VERSION, 2);
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 0);

without these lines it will create gles 1 context on some devices.