mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:17:44 +00:00
LibGL: Implement matrix mode GL_TEXTURE
Implement support for the `GL_TEXTURE` matrix mode, the texture matrix stack and texture coordinate matrix transformation. Also, an unused `m_current_matrix` was removed to make room for `m_texture_matrix`.
This commit is contained in:
parent
4703e8cbcf
commit
18399d00fa
3 changed files with 73 additions and 37 deletions
|
@ -31,6 +31,7 @@ extern "C" {
|
|||
// Matrix Modes
|
||||
#define GL_MODELVIEW 0x1700
|
||||
#define GL_PROJECTION 0x1701
|
||||
#define GL_TEXTURE 0x1702
|
||||
|
||||
// glBegin/glEnd primitive types
|
||||
#define GL_TRIANGLES 0x0004
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue