Windows build ready. Program icon, however, exceeds string length on MSVC.
This commit is contained in:
+2
-1
@@ -1,9 +1,10 @@
|
||||
/* GIMP RGBA C-Source image dump (program_icon.c) */
|
||||
|
||||
// TODO: There is no way to disable a string limit via compiler flag in MSVC.
|
||||
static const struct {
|
||||
unsigned int width;
|
||||
unsigned int height;
|
||||
unsigned int bytes_per_pixel; /* 2:RGB16, 3:RGB, 4:RGBA */
|
||||
unsigned int bytes_per_pixel; /* 2:RGB16, 3:RGB, 4:RGBA */
|
||||
unsigned char pixel_data[1024 * 1024 * 4 + 1];
|
||||
} program_icon = {
|
||||
1024, 1024, 4,
|
||||
|
||||
Reference in New Issue
Block a user