Possibly fix compiler warnings, simplify SDLTest_SurfaceImage_t definition.
This commit is contained in:
parent
7ffbc59786
commit
9baec7cd8b
2 changed files with 2 additions and 6 deletions
|
@ -22,7 +22,7 @@ typedef struct SurfaceImage_s {
|
|||
int width;
|
||||
int height;
|
||||
unsigned int bytes_per_pixel; /* 3:RGB, 4:RGBA */
|
||||
const unsigned char pixel_data[];
|
||||
const unsigned char *pixel_data;
|
||||
} SurfaceImage_t;
|
||||
|
||||
#define ALLOWABLE_ERROR_OPAQUE 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue