Skip to content

Commit

Permalink
disabled useNoError (linux intel, steamdeck compat)
Browse files Browse the repository at this point in the history
  • Loading branch information
aszabo314 committed Aug 5, 2022
1 parent db738a5 commit 2dab281
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions RELEASE_NOTES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
### 5.2.11
- disabled useNoError (linux intel, steamdeck compat)

### 5.2.10
- text rendering workaround linux(nvidia)

Expand Down
3 changes: 2 additions & 1 deletion src/Application/Aardvark.Application.Slim.GL/Application.fs
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,8 @@ module private OpenGL =
glfw.WindowHint(WindowHintBool.OpenGLForwardCompat, true)
glfw.WindowHint(WindowHintBool.DoubleBuffer, true)
glfw.WindowHint(WindowHintBool.OpenGLDebugContext, false)
if useNoError then glfw.WindowHint(WindowHintBool.ContextNoError, true)
//as 2022-08: doesnt work on various non-windows hardwares (intel, steam deck, etc)
//if useNoError then glfw.WindowHint(WindowHintBool.ContextNoError, true)
glfw.WindowHint(WindowHintBool.SrgbCapable, false)
if RuntimeInformation.IsOSPlatform(OSPlatform.OSX) then
glfw.WindowHint(unbox<WindowHintBool> 0x00023001, cfg.physicalSize)
Expand Down

0 comments on commit 2dab281

Please sign in to comment.