mirror of
https://github.com/glfw/glfw.git
synced 2024-11-26 06:14:35 +00:00
Fixed export directive for Optimus workaround.
This commit is contained in:
parent
e1ae9af5a0
commit
0c44a6be7f
@ -122,6 +122,7 @@ GLFW bundles a number of dependencies in the `deps/` directory.
|
|||||||
- [Win32] Bugfix: The wrong incorrect physical size was returned for
|
- [Win32] Bugfix: The wrong incorrect physical size was returned for
|
||||||
non-primary monitors
|
non-primary monitors
|
||||||
- [Win32] Bugfix: X-axis scroll offsets were inverted
|
- [Win32] Bugfix: X-axis scroll offsets were inverted
|
||||||
|
- [Win32] Bugfix: The Optimus HPG forcing variable was not correctly exported
|
||||||
- [X11] Added run-time support for systems lacking the XKB extension
|
- [X11] Added run-time support for systems lacking the XKB extension
|
||||||
- [X11] Made GLX 1.3 the minimum supported version
|
- [X11] Made GLX 1.3 the minimum supported version
|
||||||
- [X11] Replaced `XRRGetScreenResources` with `XRRGetScreenResourcesCurrent`
|
- [X11] Replaced `XRRGetScreenResources` with `XRRGetScreenResourcesCurrent`
|
||||||
|
@ -41,7 +41,7 @@
|
|||||||
// Applications exporting this symbol with this value will be automatically
|
// Applications exporting this symbol with this value will be automatically
|
||||||
// directed to the high-performance GPU on nVidia Optimus systems
|
// directed to the high-performance GPU on nVidia Optimus systems
|
||||||
//
|
//
|
||||||
GLFWAPI DWORD NvOptimusEnablement = 0x00000001;
|
__declspec(dllexport) DWORD NvOptimusEnablement = 0x00000001;
|
||||||
|
|
||||||
#endif // _GLFW_USE_OPTIMUS_HPG
|
#endif // _GLFW_USE_OPTIMUS_HPG
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user