forked from LukasBanana/LLGL
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[GL] Fixed retrieving integer format texture data.
- Add glMemoryBarrier() to ReadBuffer() and ReadTexture() functions when resources were created with BindFlags::Storage flag. - Map GL image format to integer specific type when integer format is requested, e.g. GL_RGBA_INTEGER instead of GL_RGBA.
- Loading branch information
1 parent
9ffbed5
commit e20f1fa
Showing
2 changed files
with
24 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters