Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-04-07 | Replace 4 with sizeof( int ) in R_GetCommandBufferReserved | Zack Middleton | |
2016-04-07 | Fix reserved size for swap buffer command being too small on x86_64 | Zack Middleton | |
2016-04-07 | Fix crash from reading past end of tr.refdef.drawSurfs | Zack Middleton | |
The number of draw surfaces was range checked against number of surfaces for the current view but needs to check total for the frame otherwise can read past the end of the tr.refdef.drawSurfs array when there are multiple views. | |||
2016-04-07 | Fix not swapping buffers because out of cmd buffer space | Zack Middleton | |
Reserve space for end of list and swap buffer commands. These are absolutely required and cannot be dropped. Dropping swap buffer command causes screen to not update and possible crash from drawsurf buffer overflow if not enough cmd buffer space for many continous frames. | |||
2016-04-07 | Add support for uncompressed image upload flag to OpenGL1 | Zack Middleton | |
2016-04-07 | Remove unused define MAC_EVENT_PUMP_MSEC | Zack Middleton | |
2016-04-07 | Fix alloc size for default skin and single shader skin | Zack Middleton | |
Found by Coverity. | |||
2016-04-07 | Backport ignoring values outside lightgrid to OpenGL1 | Zack Middleton | |
Fixes possibly of reading memory past end of lightGridData or reading wrong light grid data (wrapping around to next row). | |||
2016-04-07 | Fix OpenGL2 ignoring last light grid point on each axis | Zack Middleton | |
Also change light grid bounds clamping to make it more clear what invalid values are. | |||
2016-04-07 | Don't fog 3D crosshair sprite | Zack Middleton | |
2016-04-07 | Apply greyscaling to fog blocks | Zack Middleton | |
2016-04-07 | Move image load function prototypes to tr_common.h | Zack Middleton | |
The functions themselves are in code/renderercommon/tr_image_*.c | |||
2015-06-08 | fix initialization based on r_width and r_height | /dev/humancontroller | |
let the cvars default to "0"; upon video startup, if any of these are non-positive, try to pick up the desktop's resolution, and update the cvars | |||
2015-06-07 | Fix MDR surface indexes overflow check | Zack Middleton | |
Also, use the check overflow macro like everywhere else. | |||
2015-03-17 | Inform how many shader stages the max is in the warning message | Ensiform | |
2015-03-17 | Fix stencil shadows not drawing if has 500 or more vertexes | Zack Middleton | |
Stencil shadow is not drawn if a mesh, or multiple meshes with the same entity and shader, have more than 500 vertexes. The issue is caused by storing the projected positions in the tess vertex buffer. Use a new array instead. | |||
2015-03-17 | Don't set fog image border color | Zack Middleton | |
GL1's R_CreateImage sets GL texture to 0 before it ends, so border color is not applied to the fog image. GL_CLAMP is not used for fog image (in either renderer), so it would presumably not be used even if applied to the fog image. | |||
2015-03-17 | Remove unfinished OpenGL display list code | Zack Middleton | |
It seems unlikely anyone is going to do anything with this aside from stub it out in OpenGLES ports. | |||
2015-03-17 | Correct a few OpenGL variable types | Zack Middleton | |
Affectly no change for desktop OpenGL. Use correct types for OpenGLES support. | |||
2015-03-17 | Always use GL_Cull to change cull state | Zack Middleton | |
Manually changing cull state can cause later GL_Cull calls to not change the cull state. | |||
2015-03-17 | Add function for clearing global shader instead of duplicating the code | Zack Middleton | |
2015-03-17 | Fix renderergl1 warnings | Tim Angus | |
2015-03-17 | Fix a few warnings | Tim Angus | |
2015-03-17 | Port COM_ParseExt fixes to CommaParse | Zack Middleton | |
2014-08-28 | Fix incorrect rgbGen const reading uninitialized memory | Zack Middleton | |
If ParseVector fails, color isn't fully set. | |||
2014-08-28 | Use SDL 2 instead of SDL 1.2 | Tim Angus | |
2014-06-17 | Fix potential buffer overflow caused by long tcMod args | Zack Middleton | |
Found by Coverity. | |||
2014-06-17 | Make R_LerpTag return qfalse if MDR tag does not exist | Zack Middleton | |
Elite Force SDK has trap_R_LerpTag return void, so this shouldn't cause issues for iostvef. Allows new games to check if a tag exists in a MDR model. | |||
2014-06-17 | Remove unused extern qboolean charSet | Zack Middleton | |
No variable even exists. | |||
2014-06-17 | Bunch of comment fixes | Tequila | |
2014-06-17 | Parse q3map_sunExt in OpenGL1 too | Zack Middleton | |
Used for drawing sun, which is supported by both OpenGL1 and OpenGL2. OpenGL2 already parses it. | |||
2014-06-17 | Fix typo in animMap and videoMap warnings | Zack Middleton | |
2014-06-17 | Fix R_GetEntityToken ending prematurely | Zack Middleton | |
If spawn var key or value is "" it caused R_GetEntityToken (available to cgame, used by opengl2) to stop parsing, whereas game VM would continue. Changed it to match parsing used for game VM (see G_GET_ENTITY_TOKEN in code/server/sv_game.c). The map poq3dm5 has a "wait" key with value "". | |||
2014-06-17 | Check for buffer overflow for rail/lightning surfaces | Zack Middleton | |
2014-06-17 | r_noborder changes require a restart | IR4T4 | |
2014-06-17 | Fix white flash levelshot bug in OpenGL1 | Zack Middleton | |
If you tried to draw the last loaded image, gl texture 0 (which is appearently white) was used because renderer thought the image was already bound. Why OpenGL1 renderer binds texture 0, I have no idea. It's been removed from OpenGL2. | |||
2014-06-17 | Remove R_AddAnimSurfaces and R_MakeAnimModel prototypes | Zack Middleton | |
2014-06-17 | #6069: Remove md4 model support. | SmileTheory | |
2014-06-17 | End current draw surface before drawing cinematic | Zack Middleton | |
Fixes drawing StretchPic *before* CIN_DrawCinematic resulting in cinematic being drawn before the StretchPic. | |||
2014-06-17 | Fix flares being invisible after vid_restart | Zack Middleton | |
flareCoeff was only set if r_flareCoeff cvar was set as modified. Cvars are set as modified when created or changed. | |||
2014-06-17 | Remove vertexLightmap from textureBundle_t, it's never qtrue | Zack Middleton | |
2014-06-17 | Remove unused shader state code from tr_local.h | Zack Middleton | |
2014-06-17 | Initialize blendIndexesType and blendWeightsType | Zack Middleton | |
2014-06-17 | Fix IQM comments refering to IQM_BYTE instead of IQM_UBYTE | Zack Middleton | |
2014-06-17 | IQM int/float vertex arrays were already swapped | Zack Middleton | |
2014-06-17 | Add support for IQM int blend indices and float blend weights | Zack Middleton | |
Integer blend indices are converted to bytes at load, ioq3 doesn't allow more than 128 joints. Heavily based on code by @zippers. | |||
2014-06-17 | Support IQMs with joints and no poses | Zack Middleton | |
2014-06-17 | Revert "5097 - Menu corrupted on start (on IRIX)" | Zack Middleton | |
Calling glClear( any bits ) in GL_SetDefaultState makes connect screen black using the proprietary NVidia driver on Windows and GNU/Linux. This reverts commit 92573270de98a20cd78842bd2043cfe07bc5b2e1. | |||
2014-06-17 | Fix crash caused by too many surfaces in skin | Zack Middleton | |
2014-06-17 | Fix IQM tess buffer overflow | Zack Middleton | |
Set the variables that use tess.numVertexes after calling RB_CHECKOVERFLOW() as it may set tess.numVertexes to 0! Could cause visual issues and error "RB_EndSurface() - SHADER_MAX_VERTEXES hit". |