mirror of
https://github.com/gwdevhub/gMod.git
synced 2026-07-24 03:56:34 +00:00
BugFix:
- OTM_TextureClient::MergeUpdate: force reload does now switch the correct texture (previously it lead to a crash) - OTM_TextureClient::MergeUpdate: volume and cube textures are now loaded (if they were not loaded before) - OTM_TextureServer: if textures were added more than once, they could not be deleted correctly - OTM_Sender::SendTextures: if texture were loaded, but get unloaded due to a rearranging of the list, they are now marked correctly as unloaded Improvements: - OTM keeps in mind the actual window position - added a MORE_TEXTURES flag for the pipe comunication: if more data is written to the pipe, than the size of the buffer, the Mainloop of the OTM_TextureServer will wait for the rest of the date before it prepare an update for the OTM_TextureClient. - added the last missing texture formats of D3DFORMAT (except two formats)
This commit is contained in:
+2
-1
@@ -79,7 +79,7 @@ bool MyApp::OnInit(void)
|
||||
wxMessageBox( Language->Error_AlreadyRunning, "ERROR", wxOK|wxICON_ERROR);
|
||||
return false;
|
||||
}
|
||||
OTM_Frame *frame = new OTM_Frame( OTM_VERSION, wxDefaultPosition, wxSize(set.XSize,set.YSize));
|
||||
OTM_Frame *frame = new OTM_Frame( OTM_VERSION, wxPoint(set.XPos,set.YPos), wxSize(set.XSize,set.YSize));
|
||||
SetTopWindow( frame );
|
||||
|
||||
return true;
|
||||
@@ -209,6 +209,7 @@ OTM_Frame::~OTM_Frame(void)
|
||||
OTM_Settings set;
|
||||
set.Language = Language->GetCurrentLanguage();
|
||||
GetSize( &set.XSize, &set.YSize);
|
||||
GetPosition( &set.XPos, &set.YPos);
|
||||
set.Save();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user