Lines Matching defs:ctx2
47 static HGLRC ctx1, ctx2, current_context;
69 if (current_context != ctx2) {
70 fputs("ctx2 called while other context current\n", stderr);
84 assert(current_context == ctx2);
107 assert(ctx == ctx2);
124 ctx2 = wglCreateContext(hdc);
125 if (!ctx1 || !ctx2) {
146 test_createshader(hdc, ctx2);
147 test_createshader(hdc, ctx2);
149 test_createshader(hdc, ctx2);
153 wglDeleteContext(ctx2);