MCPcopy Create free account
hub / github.com/NVIDIA/cuda-samples / initWindow

Method initWindow

cpp/5_Domain_Specific/simpleVulkan/VulkanBaseApp.cpp:230–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

228}
229
230void VulkanBaseApp::initWindow()
231{
232 glfwInit();
233
234 glfwWindowHint(GLFW_CLIENT_API, GLFW_NO_API);
235 glfwWindowHint(GLFW_RESIZABLE, GLFW_FALSE);
236
237 m_window = glfwCreateWindow(1280, 800, m_appName.c_str(), nullptr, nullptr);
238 glfwSetWindowUserPointer(m_window, this);
239 glfwSetFramebufferSizeCallback(m_window, resizeCallback);
240}
241
242std::vector<const char *> VulkanBaseApp::getRequiredExtensions() const { return std::vector<const char *>(); }
243

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected