src/opengl/qgl_win.cpp
changeset 37 758a864f9613
parent 30 5dc02b23752f
equal deleted inserted replaced
36:ef0373b55136 37:758a864f9613
  1040         iAttributes[i++] = WGL_SUPPORT_OPENGL_ARB;
  1040         iAttributes[i++] = WGL_SUPPORT_OPENGL_ARB;
  1041         iAttributes[i++] = TRUE;
  1041         iAttributes[i++] = TRUE;
  1042         iAttributes[i++] = WGL_DRAW_TO_WINDOW_ARB;
  1042         iAttributes[i++] = WGL_DRAW_TO_WINDOW_ARB;
  1043         iAttributes[i++] = TRUE;
  1043         iAttributes[i++] = TRUE;
  1044         iAttributes[i++] = WGL_COLOR_BITS_ARB;
  1044         iAttributes[i++] = WGL_COLOR_BITS_ARB;
  1045         iAttributes[i++] = 32;
  1045         iAttributes[i++] = 24;
  1046         iAttributes[i++] = WGL_DOUBLE_BUFFER_ARB;
  1046         iAttributes[i++] = WGL_DOUBLE_BUFFER_ARB;
  1047         iAttributes[i++] = d->glFormat.doubleBuffer();
  1047         iAttributes[i++] = d->glFormat.doubleBuffer();
  1048         if (d->glFormat.stereo()) {
  1048         if (d->glFormat.stereo()) {
  1049             iAttributes[i++] = WGL_STEREO_ARB;
  1049             iAttributes[i++] = WGL_STEREO_ARB;
  1050             iAttributes[i++] = TRUE;
  1050             iAttributes[i++] = TRUE;