mirror of
https://github.com/piskelapp/piskel.git
synced 2023-08-10 21:12:52 +03:00
C export: add static const qualifier for arrays
This commit is contained in:
parent
664821b9f5
commit
d176973e72
@ -36,7 +36,7 @@
|
||||
|
||||
frameStr += '/* Piskel data for \"' + this.getPiskelName_() + '\" */\n\n';
|
||||
|
||||
frameStr += 'uint32_t ' + cName.toLowerCase();
|
||||
frameStr += 'static const uint32_t ' + cName.toLowerCase();
|
||||
frameStr += '_data[' + frameCount + '][' + width * height + '] = {\n';
|
||||
|
||||
for (var i = 0 ; i < frameCount ; i++) {
|
||||
|
Loading…
Reference in New Issue
Block a user