mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +01:00
internal/ui: bug fix: compile error on the testing CI
This commit is contained in:
parent
bba32bc06e
commit
7018318546
@ -20,6 +20,9 @@ package ui
|
||||
// #cgo darwin LDFLAGS: -Wl,-undefined,dynamic_lookup
|
||||
//
|
||||
// #include "input_nintendosdk.h"
|
||||
//
|
||||
// const int kScreenWidth = 1920;
|
||||
// const int kScreenHeight = 1080;
|
||||
import "C"
|
||||
|
||||
func (u *userInterfaceImpl) updateInputState() {
|
||||
|
@ -20,8 +20,8 @@ struct Touch {
|
||||
int y;
|
||||
};
|
||||
|
||||
const int kScreenWidth = 1920;
|
||||
const int kScreenHeight = 1080;
|
||||
extern const int kScreenWidth;
|
||||
extern const int kScreenHeight;
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
Loading…
Reference in New Issue
Block a user