Changeset a6f6833 in opengl-game for game-gui-glfw.hpp
- Timestamp:
- Sep 15, 2019, 5:27:13 AM (6 years ago)
- Branches:
- feature/imgui-sdl, master, points-test
- Children:
- 92cbc6a
- Parents:
- 09e15a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
game-gui-glfw.hpp
r09e15a4 ra6f6833 8 8 #ifdef GAMEGUI_INCLUDE_VULKAN 9 9 #define GLFW_INCLUDE_VULKAN 10 #else 11 #include <GL/glew.h> 10 12 #endif 11 13 … … 30 32 int pollEvent(UIEvent* event); 31 33 34 void refreshWindowSize(); 35 int getWindowWidth(); 36 int getWindowHeight(); 37 32 38 #ifdef GAMEGUI_INCLUDE_VULKAN 33 39 bool createVulkanSurface(VkInstance instance, VkSurfaceKHR* surface); 40 vector<const char*> getRequiredExtensions(); 34 41 #endif 35 36 vector<const char*> getRequiredExtensions();37 void getWindowSize(int* width, int* height);38 42 39 43 private: 40 44 GLFWwindow* window; 41 42 45 int windowWidth, windowHeight; 43 46 };
Note:
See TracChangeset
for help on using the changeset viewer.