mirror of
https://github.com/elasota/Aerofoil.git
synced 2025-12-15 12:39:38 +00:00
Fix alt-enter
This commit is contained in:
@@ -94,9 +94,9 @@ void GpAppEnvironment::Render()
|
||||
GpAppInterface_Get()->PL_Render(m_displayDriver);
|
||||
}
|
||||
|
||||
void GpAppEnvironment::AdjustRequestedResolution(unsigned int &width, unsigned int &height)
|
||||
bool GpAppEnvironment::AdjustRequestedResolution(unsigned int &width, unsigned int &height)
|
||||
{
|
||||
GpAppInterface_Get()->PL_AdjustRequestedResolution(width, height);
|
||||
return GpAppInterface_Get()->PL_AdjustRequestedResolution(width, height);
|
||||
}
|
||||
|
||||
void GpAppEnvironment::SetDisplayDriver(IGpDisplayDriver *displayDriver)
|
||||
|
||||
@@ -28,7 +28,7 @@ public:
|
||||
|
||||
GpDisplayDriverTickStatus_t Tick(IGpFiber *vosFiber);
|
||||
void Render();
|
||||
void AdjustRequestedResolution(unsigned int &width, unsigned int &height);
|
||||
bool AdjustRequestedResolution(unsigned int &width, unsigned int &height);
|
||||
|
||||
void SetDisplayDriver(IGpDisplayDriver *displayDriver);
|
||||
void SetAudioDriver(IGpAudioDriver *audioDriver);
|
||||
|
||||
@@ -28,9 +28,9 @@ namespace
|
||||
static_cast<GpAppEnvironment*>(context)->Render();
|
||||
}
|
||||
|
||||
void AdjustRequestedResolution(void *context, unsigned int &width, unsigned int &height)
|
||||
bool AdjustRequestedResolution(void *context, unsigned int &width, unsigned int &height)
|
||||
{
|
||||
static_cast<GpAppEnvironment*>(context)->AdjustRequestedResolution(width, height);
|
||||
return static_cast<GpAppEnvironment*>(context)->AdjustRequestedResolution(width, height);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user