rhi: gl: Silence incorrect compiler warnings about uninitialized use
Change-Id: I09bd22f3ccb1231ad4ef123f581459ef5c1ac37c Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
This commit is contained in:
parent
14ddbba298
commit
56af9fb917
@ -2157,9 +2157,9 @@ void QRhiGles2::executeCommandBuffer(QRhiCommandBuffer *cb)
|
||||
GLuint currentElementArrayBuffer = 0;
|
||||
struct {
|
||||
QRhiGraphicsPipeline *ps = nullptr;
|
||||
GLuint buffer;
|
||||
quint32 offset;
|
||||
int binding;
|
||||
GLuint buffer = 0;
|
||||
quint32 offset = 0;
|
||||
int binding = 0;
|
||||
} lastBindVertexBuffer;
|
||||
static const int TRACKED_ATTRIB_COUNT = 16;
|
||||
bool enabledAttribArrays[TRACKED_ATTRIB_COUNT];
|
||||
|
Loading…
x
Reference in New Issue
Block a user