From 79029c1099178c7240c5408811e979ecfeadcbe9 Mon Sep 17 00:00:00 2001 From: Ivan Gyurdiev Date: Tue, 6 Jun 2006 02:40:59 -0400 Subject: [PATCH] wined3d: Add limits for ps_2_x. --- dlls/wined3d/pixelshader.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/wined3d/pixelshader.c b/dlls/wined3d/pixelshader.c index 30e1831e47..05e8c68d09 100644 --- a/dlls/wined3d/pixelshader.c +++ b/dlls/wined3d/pixelshader.c @@ -963,7 +963,8 @@ void pshader_set_version( break; /* FIXME: temporaries must match D3DPSHADERCAPS2_0.NumTemps */ - case 20: This->baseShader.limits.temporary = 32; + case 20: + case 21: This->baseShader.limits.temporary = 32; This->baseShader.limits.constant_float = 32; This->baseShader.limits.constant_int = 16; This->baseShader.limits.constant_bool = 16; -- 2.32.0.93.g670b81a890