mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +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
|
// #cgo darwin LDFLAGS: -Wl,-undefined,dynamic_lookup
|
||||||
//
|
//
|
||||||
// #include "input_nintendosdk.h"
|
// #include "input_nintendosdk.h"
|
||||||
|
//
|
||||||
|
// const int kScreenWidth = 1920;
|
||||||
|
// const int kScreenHeight = 1080;
|
||||||
import "C"
|
import "C"
|
||||||
|
|
||||||
func (u *userInterfaceImpl) updateInputState() {
|
func (u *userInterfaceImpl) updateInputState() {
|
||||||
|
@ -20,8 +20,8 @@ struct Touch {
|
|||||||
int y;
|
int y;
|
||||||
};
|
};
|
||||||
|
|
||||||
const int kScreenWidth = 1920;
|
extern const int kScreenWidth;
|
||||||
const int kScreenHeight = 1080;
|
extern const int kScreenHeight;
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
extern "C" {
|
extern "C" {
|
||||||
|
Loading…
Reference in New Issue
Block a user