mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-13 05:20:45 +00:00
Fix odd linux compile error in tests
This commit is contained in:
@@ -73,11 +73,14 @@ void main()
|
||||
{
|
||||
void *ctx;
|
||||
|
||||
std::atomic_bool rendering = true;
|
||||
std::atomic_bool rendering;
|
||||
|
||||
GLuint VB, VAO, prog, FBO, tex;
|
||||
} A, B;
|
||||
|
||||
A.rendering = true;
|
||||
B.rendering = true;
|
||||
|
||||
A.VB = MakeBuffer();
|
||||
glBindBuffer(GL_ARRAY_BUFFER, A.VB);
|
||||
glBufferStorage(GL_ARRAY_BUFFER, sizeof(RedTri), RedTri, 0);
|
||||
@@ -114,7 +117,8 @@ void main()
|
||||
A.ctx = MakeContext(mainWindow, mainContext);
|
||||
B.ctx = MakeContext(mainWindow, mainContext);
|
||||
|
||||
std::atomic_bool quit = false;
|
||||
std::atomic_bool quit;
|
||||
quit = false;
|
||||
|
||||
auto windowThread = [&](int idx) {
|
||||
ctxdata &ctx = (idx == 0 ? A : B);
|
||||
|
||||
Reference in New Issue
Block a user