Skip to content

Commit

Permalink
OpenGL: More changes in preparation of OpenGL ES.
Browse files Browse the repository at this point in the history
- Slightly change the names of attachment defines so that they can be distinguished from the native OpenGL attachment defines.
- The minimum version driver check now accounts for OpenGL ES.
- OpenGLRendererCreate() can now handle any possible OpenGL variant, as declared in the OpenGLVariantID enum.
- Framebuffer read backs may now assigned their format and data type. (Legacy OpenGL assigns the format as GL_BGRA, while 3.2 Core Profile assigns the format as GL_RGBA.)
  • Loading branch information
rogerman committed Jul 3, 2024
1 parent ba56bbc commit 76fe5f7
Show file tree
Hide file tree
Showing 3 changed files with 320 additions and 189 deletions.
Loading

0 comments on commit 76fe5f7

Please sign in to comment.