r600g: Fix an unused variable warning.
This commit is contained in:
parent
ab21147c89
commit
656c314573
|
@ -405,10 +405,12 @@ struct pipe_resource *r600_texture_create(struct pipe_screen *screen,
|
||||||
/* Would like some magic "get_bool_option_once" routine.
|
/* Would like some magic "get_bool_option_once" routine.
|
||||||
*/
|
*/
|
||||||
if (force_tiling == -1) {
|
if (force_tiling == -1) {
|
||||||
struct r600_screen *rscreen = (struct r600_screen *)screen;
|
#if 0
|
||||||
/* reenable when 2D tiling is fixed better */
|
/* reenable when 2D tiling is fixed better */
|
||||||
/*if (r600_get_minor_version(rscreen->radeon) >= 9)
|
struct r600_screen *rscreen = (struct r600_screen *)screen;
|
||||||
force_tiling = debug_get_bool_option("R600_TILING", TRUE);*/
|
if (r600_get_minor_version(rscreen->radeon) >= 9)
|
||||||
|
force_tiling = debug_get_bool_option("R600_TILING", TRUE);
|
||||||
|
#endif
|
||||||
force_tiling = debug_get_bool_option("R600_TILING", FALSE);
|
force_tiling = debug_get_bool_option("R600_TILING", FALSE);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue