mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-04-28 21:57:57 +03:00
Force vertex light when using permedia 2
This commit is contained in:
parent
ec6cab28a5
commit
47cd8ccfc8
1 changed files with 1 additions and 1 deletions
|
@ -441,7 +441,7 @@ static shader_t *ShaderForShaderNum( int shaderNum, int lightmapNum ) {
|
|||
}
|
||||
dsh = &s_worldData.shaders[ shaderNum ];
|
||||
|
||||
if ( r_vertexLight->integer ) {
|
||||
if ( r_vertexLight->integer || glConfig.hardwareType == GLHW_PERMEDIA2 ) {
|
||||
lightmapNum = LIGHTMAP_BY_VERTEX;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue