Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

iOS apps just show as a blank magenta screen #1471

Closed
JonnyPtn opened this issue Aug 14, 2018 · 0 comments
Closed

iOS apps just show as a blank magenta screen #1471

JonnyPtn opened this issue Aug 14, 2018 · 0 comments

Comments

@JonnyPtn
Copy link
Contributor

JonnyPtn commented Aug 14, 2018

Subject of the issue

iOS apps don't render anything, just showing as a blank magenta screen.

Environment

  • macOS 10.13, Xcode 9, iOS 11.3
  • SFML 2.5.0

Steps to reproduce

Build SFML with the example for iOS and run it

Expected behavior

Should render correctly

Actual behavior

Blank magenta screen

Details

I've tracked it down to commit 0adde24, and more specifically this line which when commented out solves the problem, but my openGL knowledge is too sparse to work out exactly what is causing it.

edit: after some googling and trial-and-error I've found out if I bind the frame buffer in EAGLContext::Display() (add glBindFramebufferOES(GL_FRAMEBUFFER_OES, m_framebuffer); at the top of the function) then it works... I can't say whether this is a good solution or not, so I'm hoping someone else can!

@eXpl0it3r eXpl0it3r added this to Discussion in SFML 2.5.1 via automation Aug 14, 2018
@eXpl0it3r eXpl0it3r added this to the 2.5.1 milestone Aug 14, 2018
@eXpl0it3r eXpl0it3r moved this from Discussion to WIP in SFML 2.5.1 Aug 31, 2018
@eXpl0it3r eXpl0it3r moved this from WIP to Ready in SFML 2.5.1 Sep 16, 2018
SFML 2.5.1 automation moved this from Ready to Done Oct 1, 2018
@eXpl0it3r eXpl0it3r removed this from Done in SFML 2.5.1 Oct 4, 2018
@eXpl0it3r eXpl0it3r added this to Discussion in SFML 2.6.0 via automation Oct 4, 2018
@eXpl0it3r eXpl0it3r modified the milestones: 2.5.1, 2.6 Oct 4, 2018
Joald pushed a commit to Joald/SFML that referenced this issue Oct 10, 2018
@eXpl0it3r eXpl0it3r moved this from Discussion to Done in SFML 2.6.0 Nov 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
SFML 2.6.0
  
Done
Development

No branches or pull requests

2 participants