Fix compiler error on MSVC with ENABLE_TOUCH=TRUE

This commit is contained in:
Gregor Parzefall 2023-06-24 16:22:25 +02:00 committed by sfan5
parent 84fb663d6c
commit 7e51e2dea6
2 changed files with 4 additions and 4 deletions

View File

@ -35,14 +35,14 @@ with this program; if not, write to the Free Software Foundation, Inc.,
using namespace irr::core;
const char **button_imagenames = (const char *[]) {
const char *button_imagenames[] = {
"jump_btn.png",
"down.png",
"zoom.png",
"aux1_btn.png"
};
const char **joystick_imagenames = (const char *[]) {
const char *joystick_imagenames[] = {
"joystick_off.png",
"joystick_bg.png",
"joystick_center.png"

View File

@ -85,8 +85,8 @@ typedef enum
// Very slow button repeat frequency
#define SLOW_BUTTON_REPEAT 1.0f
extern const char **button_imagenames;
extern const char **joystick_imagenames;
extern const char *button_imagenames[];
extern const char *joystick_imagenames[];
struct button_info
{