StThemeNode: Fix the confusion between border and background

In d66e7dd49 I got confused between border_texture and
background_texture. The background_texture was being created as normal
but in the one place that it gets drawn I accidentally made it use the
border_material instead. This patch makes it create a
background_material similar to the border_material and uses it to
paint.
This commit is contained in:
Neil Roberts
2010-10-28 21:51:13 +01:00
parent d66e7dd49e
commit 8872913665
2 changed files with 8 additions and 1 deletions

View File

@@ -77,6 +77,7 @@ struct _StThemeNode {
CoglHandle background_shadow_material;
CoglHandle border_shadow_material;
CoglHandle background_texture;
CoglHandle background_material;
CoglHandle border_texture;
CoglHandle border_material;
CoglHandle corner_material[4];