mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-24 18:58:54 +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"
|
#include "init_nintendosdk.h"
|
||||||
|
|
||||||
extern "C" NativeWindowType ebitengine_Init() {}
|
extern "C" NativeWindowType ebitengine_Initialize() {}
|
||||||
|
|
||||||
extern "C" void ebitengine_InitializeProfiler() {}
|
extern "C" void ebitengine_InitializeProfiler() {}
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
NativeWindowType ebitengine_Init();
|
NativeWindowType ebitengine_Initialize();
|
||||||
void ebitengine_InitializeProfiler();
|
void ebitengine_InitializeProfiler();
|
||||||
void ebitengine_RecordProfilerHeartbeat();
|
void ebitengine_RecordProfilerHeartbeat();
|
||||||
|
|
||||||
|
@ -71,7 +71,7 @@ func (u *userInterfaceImpl) Run(game Game, options *RunOptions) error {
|
|||||||
}
|
}
|
||||||
u.graphicsDriver = g
|
u.graphicsDriver = g
|
||||||
|
|
||||||
n := C.ebitengine_Init()
|
n := C.ebitengine_Initialize()
|
||||||
if err := u.egl.init(n); err != nil {
|
if err := u.egl.init(n); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user