Vinson Lee
3e8b2fda21
progs/test: Initialize variable in prog_parameter.
Silences uninitialized variable compiler warning.
15 years ago
Vinson Lee
7d84169865
progs/demos: Fix memory leak in projtex.c.
15 years ago
Vinson Lee
978b80c8e3
progs/tests: Add tests to Makefile.
(cherry picked from commit 76d2ec3a0a
)
16 years ago
Vinson Lee
1446f30875
progs/samples: Fix memory leak if malloc fails in rgbtoppm.c.
15 years ago
Vinson Lee
412aeeed1c
progs/samples: Fix memory leak if fopen fails in rgbtoppm.c.
15 years ago
Vinson Lee
6212c8103a
progs/samples: Add rgbtoppm to Makefile.
15 years ago
Vinson Lee
2cd2341ce8
progs/tests: Removed unused variable from texdown.c.
15 years ago
Vinson Lee
d642edd2d1
progs/vpglsl: Assign glGetUniformLocationARB return value to GLint.
The return type of glGetUniformLocationARB is GLint, not GLuint.
15 years ago
Vinson Lee
8d2f3434c5
progs/fp: Redraw upon keypress.
15 years ago
Vinson Lee
4fb5ae7233
progs/util: Fix memory leak if fread returns 0 in CompileShaderFile.
(cherry picked from commit 11905da883
)
16 years ago
Vinson Lee
5683d7d43f
progs/util: Fix memory leak if fail to load/compile shader
Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit c475079ef2
)
16 years ago
Vinson Lee
e5bc2a19bd
progs/fp: Add tri-inv.c to Makefile.
15 years ago
Brian Paul
ca7cd3ade0
progs/xdemos: fix some visual/fbconfig logic in glxinfo.c
The fbAttribSingle/Double arrays had wrong GLX_DOUBLEBUFFER values.
We only need to use the glXChooseFBConfig() code when glXChooseVisual()
fails (but I don't know when that would happen).
Other recent commits errantly removed some code in this area too.
15 years ago
Vinson Lee
12a440abfb
progs/xdemos: Silence unused value warnings in sharedtex_mt.c.
(cherry picked from commit 8556fad751
)
16 years ago
Vinson Lee
4bf96ebdae
progs/xdemos: Fix memory leak in pbdemo.c.
(cherry picked from commit e0857962b9
)
16 years ago
Vinson Lee
ba3fedf246
progs/xdemos: Add missing break statement in offset.c.
(cherry picked from commit 4ab8dbe593
)
16 years ago
Vinson Lee
8350648401
progs/xdemos: Remove duplicate code in glxinfo.c.
(cherry picked from commit a4720a1a32
)
16 years ago
Vinson Lee
7324c22024
progs/xdemos: Fix memory leak in glxinfo.c.
(cherry picked from commit f080567f4c
)
16 years ago
Vinson Lee
68d206fafa
progs/xdemos: Add assert in corender.c.
(cherry picked from commit 66a4ec14c3
)
16 years ago
Vinson Lee
69ed1147a8
progs/vp: Fix memory leak in vp-tris.c.
(cherry picked from commit 760cf71572
)
16 years ago
Vinson Lee
efb582fde7
progs/tests: Fix memory leak in texdown.c if malloc fails.
(cherry picked from commit e3cfd78969
)
16 years ago
Vinson Lee
b210739aad
progs/redbook: Fix memory leak in quadric.c.
(cherry picked from commit 47b5f584a6
)
16 years ago
Vinson Lee
b1a87a3e0b
progs/glsl: Fix memory leak in deriv.c.
(cherry picked from commit 0e783c7d03
)
16 years ago
Vinson Lee
25fd168f03
progs/glsl: Change tangentAttrib from GLuint to GLint in bump.c.
tangentAtrrib is assigned the result of glGetAttribLocation.
The assertion 'assert(tangentAtrrib >= 0)' would be a no-op if
tangentAttrib is a GLuint.
(cherry picked from commit b8dcb79c53
)
16 years ago
Vinson Lee
b803abbaad
progs/demos: Fix memory leak in ray.c.
(cherry picked from commit 6b480dc21d
)
16 years ago
Vinson Lee
5820dae4ec
progs/demos: Fix memory leak in projtex.c.
(cherry picked from commit ee555e3d69
)
16 years ago
Vinson Lee
fc5f07de1a
progs/demos: Fix memory leak in ipers.c.
(cherry picked from commit a1afe303de
)
16 years ago
Vinson Lee
d245a951f3
progs/demos: Fix memory leak in fslight.c.
(cherry picked from commit aef3218f0b
)
16 years ago
Vinson Lee
56de7e222e
progs/trivial: Redraw upon keypress.
(cherry picked from commit 9553a42f63
)
16 years ago
Vinson Lee
34a0b22a74
progs/trivial: Redraw upon keypress.
(cherry picked from commit 3790c6a13b
)
16 years ago
Vinson Lee
9e29242331
progs/glsl: Redraw upon keypress.
(cherry picked from commit 881f55236a
)
16 years ago
Vinson Lee
a0ac8fc7d8
progs/util: Exit RawImageGetData early if malloc fails.
Prevents a null pointer deference later on.
(cherry picked from commit e26135a744
)
16 years ago
Vinson Lee
0a6acecb35
progs/util: Fix memory leak if malloc fails in RawImageOpen.
(cherry picked from commit d36cb2396c
)
16 years ago
Vinson Lee
305d4f147e
progs/util: Fix memory leak if fopen fails in RawImageOpen.
(cherry picked from commit d9508e8df9
)
16 years ago
Vinson Lee
772e004781
progs/util: Fix memory leak if malloc fails in tkRGBImageLoad.
(cherry picked from commit 786d539511
)
16 years ago
Vinson Lee
f1172c4030
progs/util: Fix memory leak if LoadRGBImage fails.
(cherry picked from commit 041cd0e110
)
16 years ago
Vinson Lee
84de1672d3
progs/util: Fix memory if LoadRGBMipmaps2 fails.
(cherry picked from commit 28b8e4bcd7
)
16 years ago
Vinson Lee
4ca8e1680e
progs/util: Fix memory leak if LoadYUVImage fails.
(cherry picked from commit 0e790ac353
)
16 years ago
Vinson Lee
d6a993135f
progs/fp: Redraw upon keypress.
(cherry picked from commit cde6643724
)
16 years ago
Vinson Lee
005242f166
prog/tests: Fix MSVC build.
Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit 9c3197ef0a
)
16 years ago
Vinson Lee
d3208678c2
progs/tests: fix MSVC build.
Signed-off-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit a8ed066858
)
16 years ago
Vinson Lee
97cbf4943a
progs/tests: Fix MSVC build.
(cherry picked from commit 50e113e375
)
16 years ago
Vinson Lee
a99bf51bc8
progs/tests: Fix MSVC build.
(cherry picked from commit 952bf63e2c
)
16 years ago
José Fonseca
28474e1225
progs/tests: Use rand() instead of random().
Forgot these on previous commit.
(cherry picked from commit 166957abeb
)
16 years ago
José Fonseca
bb6e3af939
progs/tests: Use rand() instead of random().
More portable. Same implementation on Linux.
(cherry picked from commit 699260b195
)
16 years ago
Vinson Lee
a38776419b
progs/tests: Fix MSVC build.
(cherry picked from commit f7455ad7af
)
16 years ago
Vinson Lee
791b754687
prog/tests: Fix MSVC build.
(cherry picked from commit 60b6c74583
)
16 years ago
Vinson Lee
89e747920f
prog/tests: Fix MSVC build.
(cherry picked from commit 96fd13c1a0
)
16 years ago
Vinson Lee
5a25adb646
progs/tests: fix MSVC build.
(cherry picked from commit 9c778a90ea
)
16 years ago
Vinson Lee
3910e88ebf
prog/tests: Fix MSVC build.
(cherry picked from commit ea862ec8ff
)
16 years ago