From f663e5c2ce5a814d34f9460cb8e9db8e7af2f653 Mon Sep 17 00:00:00 2001 From: icculus Date: Sun, 9 Mar 2008 16:42:57 -0400 Subject: [PATCH] [svn] Whoops, that was 256 5-byte strings, not 5 256-byte strings! --HG-- branch : trunk --- d3d2glsl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/d3d2glsl.c b/d3d2glsl.c index 8d532d57..351d961e 100644 --- a/d3d2glsl.c +++ b/d3d2glsl.c @@ -38,7 +38,7 @@ typedef struct D3D2GLSL_context char *output; uint32 output_len; char *failstr; - char buffers[D3D2GLSL_SCRATCH_BUFFER_SIZE][D3D2GLSL_SCRATCH_BUFFERS]; + char buffers[D3D2GLSL_SCRATCH_BUFFERS][D3D2GLSL_SCRATCH_BUFFER_SIZE]; int bufidx; // current scratch buffer. } D3D2GLSL_context;