summaryrefslogtreecommitdiffstats
path: root/src/gui/rhi/qrhigles2_p_p.h
diff options
context:
space:
mode:
authorInho Lee <inho.lee@qt.io>2020-09-16 14:38:58 +0200
committerInho Lee <inho.lee@qt.io>2020-09-21 11:36:14 +0200
commit2a7d6e2779bf0c7915396a8af0e1048d254debc3 (patch)
treea0f02b0039d9c437432152c22e593c4a6f816779 /src/gui/rhi/qrhigles2_p_p.h
parent0148c6925ec3b6b9a9d2f57ae44fea292a6625e1 (diff)
Support signed integer attributes on QRHI
Previous UIntAttributes feature is renamed as IntAttributes. Change-Id: I4b4a87a0eebf37291da832605f7bee8fb2d4e62b Reviewed-by: Laszlo Agocs <laszlo.agocs@qt.io>
Diffstat (limited to 'src/gui/rhi/qrhigles2_p_p.h')
-rw-r--r--src/gui/rhi/qrhigles2_p_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/rhi/qrhigles2_p_p.h b/src/gui/rhi/qrhigles2_p_p.h
index 1410e6ac38..1f46d424a4 100644
--- a/src/gui/rhi/qrhigles2_p_p.h
+++ b/src/gui/rhi/qrhigles2_p_p.h
@@ -880,7 +880,7 @@ public:
properMapBuffer(false),
nonBaseLevelFramebufferTexture(false),
texelFetch(false),
- uintAttributes(true),
+ intAttributes(true),
screenSpaceDerivatives(false)
{ }
int ctxMajor;
@@ -921,7 +921,7 @@ public:
uint properMapBuffer : 1;
uint nonBaseLevelFramebufferTexture : 1;
uint texelFetch : 1;
- uint uintAttributes : 1;
+ uint intAttributes : 1;
uint screenSpaceDerivatives : 1;
} caps;
QGles2SwapChain *currentSwapChain = nullptr;