mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 04:57:26 +01:00
internal/ui: rename ebitengine_Init -> ebitengine_Initialize
This commit is contained in:
parent
0e0205b2d0
commit
723a44a822
@ -18,7 +18,7 @@
|
||||
|
||||
#include "init_nintendosdk.h"
|
||||
|
||||
extern "C" NativeWindowType ebitengine_Init() {}
|
||||
extern "C" NativeWindowType ebitengine_Initialize() {}
|
||||
|
||||
extern "C" void ebitengine_InitializeProfiler() {}
|
||||
|
||||
|
@ -20,7 +20,7 @@
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
NativeWindowType ebitengine_Init();
|
||||
NativeWindowType ebitengine_Initialize();
|
||||
void ebitengine_InitializeProfiler();
|
||||
void ebitengine_RecordProfilerHeartbeat();
|
||||
|
||||
|
@ -71,7 +71,7 @@ func (u *userInterfaceImpl) Run(game Game, options *RunOptions) error {
|
||||
}
|
||||
u.graphicsDriver = g
|
||||
|
||||
n := C.ebitengine_Init()
|
||||
n := C.ebitengine_Initialize()
|
||||
if err := u.egl.init(n); err != nil {
|
||||
return err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user