Start migration to openGLraw, add target parameter to texture params
This commit is contained in:
+4
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user