Pārlūkot izejas kodu

st/xvmc/tests: force enable assertions

Similar to the other 'tests', enable assertions in xvmc_bench.

This silences the GCC warnings about unused-variable(s), makes the
program actually useful, as the XvMC API called. Atm the function
calls are omitted, since they're called within the assert.

Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
tags/13.0-branchpoint
Emil Velikov pirms 9 gadiem
vecāks
revīzija
9b7fd4080a
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2
    0
      src/gallium/state_trackers/xvmc/tests/xvmc_bench.c

+ 2
- 0
src/gallium/state_trackers/xvmc/tests/xvmc_bench.c Parādīt failu

@@ -25,6 +25,8 @@
*
**************************************************************************/

/* Force assertions, even on release builds. */
#undef NDEBUG
#include <assert.h>
#include <stdio.h>
#include <string.h>

Notiek ielāde…
Atcelt
Saglabāt