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

Validate framebuffer uploads a bit more #6378

Merged
merged 2 commits into from
Jun 21, 2014

Conversation

unknownbrackets
Copy link
Collaborator

Fixes a crash @solarmystic reported, might maybe help #6377 (but probably means a garbage address)?

-[Unknown]

@daniel229
Copy link
Collaborator

Yes,it fixes #6377

@unknownbrackets
Copy link
Collaborator Author

What framebuffer address is it rendering too, then? It should say Creating FBO around where it crashed.

-[Unknown]

@daniel229
Copy link
Collaborator

Is this? GLES\Framebuffer.cpp:973 Creating FBO for 08155f80 : 128 x 128 x 3

@unknownbrackets
Copy link
Collaborator Author

Hmm. That looks like a perfectly valid RAM address. I'm sure none of our code is prepared for RAM addresses as framebuffer addresses... I've never checked if you can draw to RAM after all, though...

-[Unknown]

@daniel229
Copy link
Collaborator

that is the minimap
02

@solarmystic
Copy link
Contributor

After some extended testing (1 hour) with this branch, I can personally verify that this fixes the crash I reported at #6362 (comment)

Nice work @unknownbrackets

hrydgard added a commit that referenced this pull request Jun 21, 2014
Validate framebuffer uploads a bit more
@hrydgard hrydgard merged commit 09e5a60 into hrydgard:master Jun 21, 2014
@unknownbrackets unknownbrackets deleted the gpu-minor branch June 21, 2014 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants