aboutsummaryrefslogtreecommitdiff
path: root/src/rlgl.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rlgl.c')
-rw-r--r--src/rlgl.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/rlgl.c b/src/rlgl.c
index 7afa374e..ca08e1a2 100644
--- a/src/rlgl.c
+++ b/src/rlgl.c
@@ -1100,9 +1100,9 @@ void rlglInitPostpro(void)
if (postproFbo.id > 0)
{
// Create a simple quad model to render fbo texture
- VertexData quadData;
+ Mesh quad;
- quadData.vertexCount = 6;
+ quad.vertexCount = 6;
float w = (float)screenWidth;
float h = (float)screenHeight;
@@ -1112,12 +1112,12 @@ void rlglInitPostpro(void)
float quadNormals[6*3] = { 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f, 0.0f, 0.0f, 1.0f };
unsigned char quadColors[6*4] = { 255 };
- quadData.vertices = quadPositions;
- quadData.texcoords = quadTexcoords;
- quadData.normals = quadNormals;
- quadData.colors = quadColors;
+ quad.vertices = quadPositions;
+ quad.texcoords = quadTexcoords;
+ quad.normals = quadNormals;
+ quad.colors = quadColors;
- postproQuad = rlglLoadModel(quadData);
+ postproQuad = rlglLoadModel(quad);
// NOTE: postproFbo.colorTextureId must be assigned to postproQuad model shader
}
@@ -1982,7 +1982,7 @@ void rlglGenerateMipmaps(Texture2D texture)
}
// Load vertex data into a VAO (if supported) and VBO
-Model rlglLoadModel(VertexData mesh)
+Model rlglLoadModel(Mesh mesh)
{
Model model;