// LordHavoc: report supported extensions
Con_DPrintf("\nQuakeC extensions for server and client: %s\nQuakeC extensions for menu: %s\n", vm_sv_extensions, vm_m_extensions );
+
+ // GLES devices in general do not like GL_BGRA, so use GL_RGBA
+ vid.forcetextype = TEXTYPE_RGBA;
vid.support.gl20shaders = true;
vid.support.amd_texture_texture4 = false;
vid.support.ext_texture_compression_s3tc = false;
vid.support.ext_texture_edge_clamp = true;
vid.support.ext_texture_filter_anisotropic = false; // probably don't want to use it...
+ vid.support.ext_texture_srgb = false;
qglGetIntegerv(GL_MAX_TEXTURE_SIZE, (GLint*)&vid.maxtexturesize_2d);
if (vid.support.ext_texture_filter_anisotropic)
int i;
#if SETVIDEOMODE
int flags = SDL_HWSURFACE;
+ if(!COM_CheckParm("-noasyncblit")) flags |= SDL_ASYNCBLIT;
#else
int windowflags = SDL_WINDOW_SHOWN;
#endif
case RENDERPATH_SOFT:
DPSOFTRAST_Finish();
#if SETVIDEOMODE
+// if (!r_test.integer)
+ {
SDL_BlitSurface(vid_softsurface, NULL, screen, NULL);
SDL_Flip(screen);
+ }
#else
{
SDL_Surface *screen = SDL_GetWindowSurface(window);