Lines Matching defs:ctx1
47 static HGLRC ctx1, ctx2, current_context;
59 if (current_context != ctx1) {
60 fputs("ctx1 called while other context current\n", stderr);
81 if (current_context == ctx1) {
103 if (ctx == ctx1) {
123 ctx1 = wglCreateContext(hdc);
125 if (!ctx1 || !ctx2) {
130 if (!wglMakeCurrent(hdc, ctx1)) {
144 test_createshader(hdc, ctx1);
145 test_createshader(hdc, ctx1);
148 test_createshader(hdc, ctx1);
152 wglDeleteContext(ctx1);