Skip to content

Commit 81924be

Browse files
authored
Merge pull request #20 from RobLoach/Texture2dconv
Add conversation to Texture2D
2 parents d12ae10 + c181511 commit 81924be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/raylib-aseprite.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ Aseprite LoadAsepriteFromMemory(unsigned char* fileData, unsigned int size) {
217217

218218
// Save the texture as the Aseprite context.
219219
ase->mem_ctx = MemAlloc(sizeof(Texture2D));
220-
Texture2D* texturePointer = ase->mem_ctx;
220+
Texture2D* texturePointer = (Texture2D*)ase->mem_ctx;
221221
texturePointer->format = texture.format;
222222
texturePointer->id = texture.id;
223223
texturePointer->mipmaps = texture.mipmaps;

0 commit comments

Comments
 (0)