opengl added to engine
This commit is contained in:
parent
d8378484a7
commit
706a519452
31 changed files with 490 additions and 68 deletions
17
src/graphics/opengl/spritesheet.c
Normal file
17
src/graphics/opengl/spritesheet.c
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
#ifdef ARC_OPENGL
|
||||
#include "arc/graphics/spritesheet.h"
|
||||
#include "arc/math/point.h"
|
||||
#include <stdlib.h>
|
||||
|
||||
void ARC_Spritesheet_RenderArea(ARC_Spritesheet *spritesheet, ARC_Rect *sheetBounds, ARC_Renderer *renderer, ARC_Rect *renderBounds){
|
||||
}
|
||||
|
||||
ARC_Point ARC_Spritesheet_GetSize(ARC_Spritesheet *spritesheet){
|
||||
return (ARC_Point){0, 0};
|
||||
}
|
||||
|
||||
uint32_t *ARC_Spritesheet_GetTileSize(ARC_Spritesheet *spritesheet){
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#endif // ARC_OPENGL
|
||||
Loading…
Add table
Add a link
Reference in a new issue