mirror of
https://github.com/glfw/glfw.git
synced 2024-11-25 22:14:34 +00:00
Documentation work
This commit is contained in:
parent
6eae8f22dc
commit
f656d95339
@ -35,15 +35,15 @@ DEFINE_GUID(GUID_DEVINTERFACE_HID,0x4d1e55b2,0xf16f,0x11cf,0x88,0xcb,0x00,0x11,0
|
|||||||
|
|
||||||
#if defined(_GLFW_USE_HYBRID_HPG) || defined(_GLFW_USE_OPTIMUS_HPG)
|
#if defined(_GLFW_USE_HYBRID_HPG) || defined(_GLFW_USE_OPTIMUS_HPG)
|
||||||
|
|
||||||
// Applications exporting this symbol with this value will be automatically
|
// Executables (but not DLLs) exporting this symbol with this value will be
|
||||||
// directed to the high-performance GPU on Nvidia Optimus systems with
|
// automatically directed to the high-performance GPU on Nvidia Optimus systems
|
||||||
// up-to-date drivers
|
// with up-to-date drivers
|
||||||
//
|
//
|
||||||
__declspec(dllexport) DWORD NvOptimusEnablement = 1;
|
__declspec(dllexport) DWORD NvOptimusEnablement = 1;
|
||||||
|
|
||||||
// Applications exporting this symbol with this value will be automatically
|
// Executables (but not DLLs) exporting this symbol with this value will be
|
||||||
// directed to the high-performance GPU on AMD PowerXpress systems with
|
// automatically directed to the high-performance GPU on AMD PowerXpress systems
|
||||||
// up-to-date drivers
|
// with up-to-date drivers
|
||||||
//
|
//
|
||||||
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
__declspec(dllexport) int AmdPowerXpressRequestHighPerformance = 1;
|
||||||
|
|
||||||
|
@ -2428,6 +2428,8 @@ void _glfwPlatformGetRequiredInstanceExtensions(char** extensions)
|
|||||||
|
|
||||||
extensions[0] = "VK_KHR_surface";
|
extensions[0] = "VK_KHR_surface";
|
||||||
|
|
||||||
|
// NOTE: VK_KHR_xcb_surface is preferred due to some early ICDs exposing but
|
||||||
|
// not correctly implementing VK_KHR_xlib_surface
|
||||||
if (_glfw.vk.KHR_xcb_surface && _glfw.x11.x11xcb.handle)
|
if (_glfw.vk.KHR_xcb_surface && _glfw.x11.x11xcb.handle)
|
||||||
extensions[1] = "VK_KHR_xcb_surface";
|
extensions[1] = "VK_KHR_xcb_surface";
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user