Fix tests not passing a window title

This commit is contained in:
baldurk
2022-02-11 11:04:14 +00:00
parent 4860e87c92
commit 745bff2eeb
2 changed files with 3 additions and 3 deletions
@@ -115,8 +115,8 @@ void main()
glBindTexture(GL_TEXTURE_2D, 0);
glBindBuffer(GL_ARRAY_BUFFER, 0);
A.win = MakeWindow(32, 32, NULL);
B.win = MakeWindow(32, 32, NULL);
A.win = MakeWindow(32, 32, "A");
B.win = MakeWindow(32, 32, "B");
A.ctx = MakeContext(A.win, mainContext);
B.ctx = MakeContext(B.win, mainContext);
+1 -1
View File
@@ -87,7 +87,7 @@ void main()
for(int i = 0; i < 100; i++)
{
GraphicsWindow *win2 = MakeWindow(32, 32, NULL);
GraphicsWindow *win2 = MakeWindow(32, 32, "extra");
void *ctx2 = MakeContext(win2, mainContext);
ActivateContext(win2, ctx2);
ActivateContext(mainWindow, mainContext);