Sweden-Number/dlls/d3dx9_36
Matteo Bruni cfc533b40d d3dx9: Use an assert() to validate access to const_tbl[].
This check is essentially validating that the hardcoded state_table[]
has reasonable values for the shader constant states. Use ARRAY_SIZE()
to avoid warnings if the compiler chooses an unsigned integer to back
enum SHADER_CONSTANT_TYPE.

Based on an idea by Henri Verbeet.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-03-24 19:43:38 +01:00
..
tests d3dx9: Add two more DT_SINGLELINE tests. 2020-03-24 19:43:38 +01:00
Makefile.in d3dx9: Handle word breaks in ID3DXFont_DrawText. 2020-03-06 17:52:11 +01:00
animation.c
core.c
d3dx9_36.spec
d3dx9_private.h d3dx9: Reimplement make_pow2() in d3dx9_private.h. 2020-02-25 23:43:18 +01:00
effect.c d3dx9: Use an assert() to validate access to const_tbl[]. 2020-03-24 19:43:38 +01:00
font.c d3dx9: Remove a recursive call to ID3DXFont_DrawTextW when no rect is specified. 2020-03-24 19:43:38 +01:00
line.c
main.c
math.c
mesh.c
preshader.c
render.c
shader.c
skin.c
sprite.c
surface.c
texture.c d3dx9: Reimplement make_pow2() in d3dx9_private.h. 2020-02-25 23:43:18 +01:00
txc_compress_dxtn.c
txc_dxtn.h
txc_fetch_dxtn.c
util.c
version.rc
volume.c
xfile.c