Android event handler (#97)
This commit is contained in:
parent
0ffc005c8f
commit
87fd1be105
2 changed files with 37 additions and 3 deletions
|
|
@ -181,7 +181,7 @@ public:
|
|||
HWND setupWindow(HINSTANCE hinstance, WNDPROC wndproc);
|
||||
void handleMessages(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam);
|
||||
#elif defined(__ANDROID__)
|
||||
// todo : add event handler for Android
|
||||
static void handleAppCommand(android_app* app, int32_t cmd);
|
||||
#elif defined(__linux__)
|
||||
xcb_window_t setupWindow();
|
||||
void initxcbConnection();
|
||||
|
|
@ -231,7 +231,7 @@ public:
|
|||
void createPipelineCache();
|
||||
|
||||
// Prepare commonly used Vulkan functions
|
||||
void prepare();
|
||||
virtual void prepare();
|
||||
|
||||
// Load a SPIR-V shader
|
||||
VkPipelineShaderStageCreateInfo loadShader(const char* fileName, VkShaderStageFlagBits stage);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue