Pārlūkot izejas kodu

don't multisample

feature/replace-renderer
Martin Dørum pirms 3 gadiem
vecāks
revīzija
8033f8a4d4
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      libcygnet/src/Window.cc

+ 2
- 2
libcygnet/src/Window.cc Parādīt failu

@@ -19,8 +19,8 @@ Window::Window(const char *name, int w, int h):
SDL_GL_SetAttribute(SDL_GL_CONTEXT_MINOR_VERSION, 0);
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 24);
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, 1);
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, 8);
//SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, 1);
//SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, 8);

SDL_GL_SetSwapInterval(1);
state_->window = SDL_CreateWindow(name,

Notiek ielāde…
Atcelt
Saglabāt