xbmc/xbmc — pull request #1244 by pieh (2012-08-05 09:47:31+00:00)
Title: GUIDialogSelect: fix crashes on skin reload when select dialog is active

This commits are fixes for problem described in http://forum.xbmc.org/showthread.php?tid=137326

I put detailed fixes description in commit messages. Second fix seems more like bandaid - maybe instead of that I should try more general approach of announcing that we force cleanup of given texture and let controls that have use this texture to adjust (null texture pointer or whatever we do). I was a bit lost in texture classes maze so I just did easy fix + problem description for now and saved myself figuring out how texture stuff really work in case I don't need to ;)