Skip to content

Commit

Permalink
Revert "extended RuntimeConfig & version bump"
Browse files Browse the repository at this point in the history
This reverts commit a926cde.

# Conflicts:
#	RELEASE_NOTES.md
  • Loading branch information
haraldsteinlechner committed Dec 21, 2023
1 parent 58cd259 commit 1b252b5
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 13 deletions.
1 change: 0 additions & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

### 5.4.10-prerelease0003
- [FontResolve] fixed null family name failure

### 5.4.10-prerelease0002
- [PathSegment] minor fixes

Expand Down
2 changes: 0 additions & 2 deletions src/Aardvark.Rendering.GL/Core/Config.fs
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,6 @@ module RuntimeConfig =
/// </summary>
let mutable AllowConcurrentResourceAccess = false

let mutable AllowMultiDrawIndirect = false


/// Reporting modes for OpenGL errors.
type ErrorFlagCheck =
Expand Down
12 changes: 2 additions & 10 deletions src/Aardvark.Rendering.GL/Instructions/OpenGL.fs
Original file line number Diff line number Diff line change
Expand Up @@ -665,20 +665,12 @@ module OpenGl =
/// <summary>
/// https://www.opengl.org/sdk/docs/man/html/glMultiDrawArraysIndirect.xhtml
/// </summary>
let MultiDrawArraysIndirect =
if RuntimeConfig.AllowMultiDrawIndirect then
getProcAddress "glMultiDrawArraysIndirect"
else
0n
let MultiDrawArraysIndirect = getProcAddress "glMultiDrawArraysIndirect"

/// <summary>
/// https://www.opengl.org/sdk/docs/man/html/glMultiDrawElementsIndirect.xhtml
/// </summary>
let MultiDrawElementsIndirect =
if RuntimeConfig.AllowMultiDrawIndirect then
getProcAddress "glMultiDrawElementsIndirect"
else
0n
let MultiDrawElementsIndirect = getProcAddress "glMultiDrawElementsIndirect"


/// <summary>
Expand Down

0 comments on commit 1b252b5

Please sign in to comment.