Permalink
Browse files

Work around mir deficiencies

  • Loading branch information...
1 parent 89def4f commit 1f50b5f20d4eaa0d024379ca2363a4f2bae2f631 @pseuudonym404 committed Jul 6, 2015
Showing with 5 additions and 7 deletions.
  1. +1 −1 Makefile
  2. +4 −6 share/video.c
View
@@ -160,7 +160,7 @@ endif
endif
endif
-#OGL_LIBS := -L/usr/lib/arm-linux-gnueabihf -lGLESv1_CM
+#OGL_LIBS := -L/usr/lib/i386-linux-gnu -lGLESv1_CM
OGL_LIBS := -L/usr/lib/arm-linux-gnueabihf -lGLESv1_CM
ifeq ($(PLATFORM),mingw)
View
@@ -176,12 +176,10 @@ int video_mode(int f, int w, int h)
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLEBUFFERS, buffers);
SDL_GL_SetAttribute(SDL_GL_MULTISAMPLESAMPLES, samples);
- /* Require 16-bit double buffer with 16-bit depth buffer. */
-
- SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 5);
- SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 5);
- SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 5);
- SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 16);
+ SDL_GL_SetAttribute(SDL_GL_RED_SIZE, 8);
+ SDL_GL_SetAttribute(SDL_GL_GREEN_SIZE, 8);
+ SDL_GL_SetAttribute(SDL_GL_BLUE_SIZE, 8);
+ SDL_GL_SetAttribute(SDL_GL_DEPTH_SIZE, 24);
SDL_GL_SetAttribute(SDL_GL_DOUBLEBUFFER, 1);
/* Try to set the currently specified mode. */

0 comments on commit 1f50b5f

Please sign in to comment.