mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
engine: hdr to ldr conversion for HDR_TYPE_NONE
This commit is contained in:
@@ -36,8 +36,8 @@ struct LightState_t
|
||||
{
|
||||
int m_nNumLights;
|
||||
bool m_bAmbientLight;
|
||||
bool m_bStaticLight;
|
||||
bool m_bStaticLightVertex;
|
||||
bool m_bStaticLightTexel;
|
||||
inline int HasDynamicLight() { return (m_bAmbientLight || (m_nNumLights > 0)) ? 1 : 0; }
|
||||
};
|
||||
|
||||
|
||||
@@ -1339,6 +1339,7 @@ typedef struct _D3DCAPS9
|
||||
DWORD FakeSRGBWrite; // 1 for parts which can't support SRGB writes due to driver issues - 0 for others
|
||||
DWORD MixedSizeTargets; // 1 for parts which can mix attachment sizes (RT's color vs depth)
|
||||
DWORD CanDoSRGBReadFromRTs; // 0 when we're on Leopard, 1 when on Snow Leopard
|
||||
DWORD SupportInt16Format;
|
||||
} D3DCAPS9;
|
||||
|
||||
typedef struct _D3DDISPLAYMODE
|
||||
|
||||
Reference in New Issue
Block a user