Start migration to openGLraw, add target parameter to texture params

This commit is contained in:
2023-03-03 11:20:31 +00:00
parent 8456f9e02e
commit f2e406b05c
7 changed files with 74 additions and 12 deletions
+4 -2
View File
@@ -60,8 +60,10 @@ data EBO = EBO
, _eboPtr :: Ptr GLushort
}
{- | Datatype containing the reference to a texture object. -}
newtype ShaderTexture = ShaderTexture
{ _textureObject :: TextureObject }
data ShaderTexture = ShaderTexture
{ _textureObject :: TextureObject
, _textureTarget :: GLenum
}
data EPrimitiveMode
= EPoints
| ELines