Modal dialogs must be closed with EndModal() or all kinds of weird
corruption can happen with wx 2.9. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7092 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@@ -93,7 +93,7 @@ bool SaveTexture(const char* filename, u32 textarget, u32 tex, int width, int he
|
||||
|
||||
TextureCache::TCacheEntry::~TCacheEntry()
|
||||
{
|
||||
if (texture)
|
||||
if (texture)
|
||||
{
|
||||
glDeleteTextures(1, &texture);
|
||||
texture = 0;
|
||||
|
||||
@@ -36,8 +36,8 @@ public:
|
||||
|
||||
private:
|
||||
struct TCacheEntry : TCacheEntryBase
|
||||
{
|
||||
GLuint texture;
|
||||
{
|
||||
GLuint texture;
|
||||
|
||||
PC_TexFormat pcfmt;
|
||||
|
||||
@@ -65,7 +65,7 @@ private:
|
||||
|
||||
private:
|
||||
void SetTextureParameters(const TexMode0 &newmode, const TexMode1 &newmode1);
|
||||
};
|
||||
};
|
||||
|
||||
~TextureCache();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user