fix rects render
This commit is contained in:
1 parent
1296d41ad7
commit
8aecc2bd06
1 file changed
+2
-2
@@ -693,9 +693,9 @@ size_t get_quad_payload_size(struct QuadBatch batch) {
|
||||
else if (!batch.constant_colored && batch.textured)
|
||||
return sizeof (ElementIndexedQuad);
|
||||
else if (batch.constant_colored && !batch.textured)
|
||||
return sizeof (ElementIndexedQuadWithoutTexture);
|
||||
else if (!batch.constant_colored && !batch.textured)
|
||||
return sizeof (ElementIndexedQuadWithoutColorWithoutTexture);
|
||||
else if (!batch.constant_colored && !batch.textured)
|
||||
return sizeof (ElementIndexedQuadWithoutTexture);
|
||||
|
||||
SDL_assert(false);
|
||||
return 0;
|
||||
|
||||
Reference in new issue
Block a user