Skip to content

Commit d3aeb9f

Browse files
Merge pull request #1902 from ACrazyTown/fix/rendercontext-attribute-hardware
Set RenderContextAttributes.hardware upon context creation
2 parents 09040f4 + f331941 commit d3aeb9f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/lime/_internal/backend/native/NativeWindow.hx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,7 @@ class NativeWindow
132132
var gl = new NativeOpenGLRenderContext();
133133

134134
useHardware = true;
135+
contextAttributes.hardware = true;
135136

136137
#if lime_opengl
137138
context.gl = gl;
@@ -155,6 +156,7 @@ class NativeWindow
155156

156157
default:
157158
useHardware = false;
159+
contextAttributes.hardware = false;
158160

159161
#if lime_cairo
160162
context.cairo = cairo;

0 commit comments

Comments
 (0)