Mesa (master): progs/fp: increase buffer size to read larger shaders

Brian Paul brianp at kemper.freedesktop.org
Thu Jan 7 16:20:59 UTC 2010


Module: Mesa
Branch: master
Commit: 7c55fe9bfd6f5db8759610bbbf1fa220f02b8164
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=7c55fe9bfd6f5db8759610bbbf1fa220f02b8164

Author: Brian Paul <brianp at vmware.com>
Date:   Thu Jan  7 09:10:53 2010 -0700

progs/fp: increase buffer size to read larger shaders

---

 progs/fp/fp-tri.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/progs/fp/fp-tri.c b/progs/fp/fp-tri.c
index ed29a2d..70676d4 100644
--- a/progs/fp/fp-tri.c
+++ b/progs/fp/fp-tri.c
@@ -73,7 +73,7 @@ static void Init( void )
    GLuint Texture;
    GLint errno;
    GLuint prognum;
-   char buf[4096];
+   char buf[50000];
    GLuint sz;
    FILE *f;
 




More information about the mesa-commit mailing list