projects
/
mesa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
gallium/tests: Fix compiler warning about unused vars in trivial tests.
[mesa.git]
/
src
/
gallium
/
tests
/
trivial
/
quad-tex.c
diff --git
a/src/gallium/tests/trivial/quad-tex.c
b/src/gallium/tests/trivial/quad-tex.c
index a30cfb9b9f7b4b2c92e4ffcf114451d758b93cfc..ba0a7ac8fb33ffd827d98d2bf93d7cb9b90a76e3 100644
(file)
--- a/
src/gallium/tests/trivial/quad-tex.c
+++ b/
src/gallium/tests/trivial/quad-tex.c
@@
-47,6
+47,7
@@
/* constant state object helper */
#include "cso_cache/cso_context.h"
/* constant state object helper */
#include "cso_cache/cso_context.h"
+#include "util/macros.h"
/* u_sampler_view_default_template */
#include "util/u_sampler.h"
/* debug_dump_surface_bmp */
/* u_sampler_view_default_template */
#include "util/u_sampler.h"
/* debug_dump_surface_bmp */
@@
-89,7
+90,7
@@
struct program
static void init_prog(struct program *p)
{
struct pipe_surface surf_tmpl;
static void init_prog(struct program *p)
{
struct pipe_surface surf_tmpl;
- int ret;
+
ASSERTED
int ret;
/* find a hardware device */
ret = pipe_loader_probe(&p->dev, 1);
/* find a hardware device */
ret = pipe_loader_probe(&p->dev, 1);