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.
[WebGL] Fixed texture initialization for WebGL.
- Add integer identifier to all stencil and depth-stencil format flags. - Only initialize GL textures with GL_FLOAT type for strictly float formats, i.e. GL_RGBA is UNorm but *not* considered a floating-point type. - Initialize GL texture parameters *after* texture storage has been allocated.
- Loading branch information
1 parent
99d2b2b
commit 1b25809
Showing
5 changed files
with
95 additions
and
84 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
Oops, something went wrong.