mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-22 06:05:38 +00:00
Fixed an issue with NinePatchComponent scaling on 1920x1200 displays.
This commit is contained in:
parent
ace0366479
commit
82896f01fb
|
@ -32,7 +32,7 @@ Many bugs have been fixed, and numerous features that were only partially implem
|
||||||
* Added volume sliders for navigation sounds and game videos to the sound settings menu
|
* Added volume sliders for navigation sounds and game videos to the sound settings menu
|
||||||
* Added support for OpenGL GLSL shaders (OpenGL 2.1 renderer only, no support for OpenGL ES 1.0 renderer)
|
* Added support for OpenGL GLSL shaders (OpenGL 2.1 renderer only, no support for OpenGL ES 1.0 renderer)
|
||||||
* Added multiple animations and shader effects, such as when opening menus, playing videos in the gamelists and via the screensaver etc.
|
* Added multiple animations and shader effects, such as when opening menus, playing videos in the gamelists and via the screensaver etc.
|
||||||
* Updated the application to work properly on high resolution devices (such as 4K)
|
* Updated the application to work properly on high resolution devices (such as 4K monitors)
|
||||||
* Seamless (almost) launch of games without showing the desktop when starting and returning from RetroArch and other emulators
|
* Seamless (almost) launch of games without showing the desktop when starting and returning from RetroArch and other emulators
|
||||||
* Updated scraper to support additional media files, detailed configuration of what to scrape, semi-automatic mode etc.
|
* Updated scraper to support additional media files, detailed configuration of what to scrape, semi-automatic mode etc.
|
||||||
* Added user account support when scraping using ScreenScraper
|
* Added user account support when scraping using ScreenScraper
|
||||||
|
|
|
@ -72,7 +72,7 @@ void NinePatchComponent::buildVertices()
|
||||||
if (mIsScalable) {
|
if (mIsScalable) {
|
||||||
texSize = Vector2f(static_cast<float>(mTexture->getSize().x()) *
|
texSize = Vector2f(static_cast<float>(mTexture->getSize().x()) *
|
||||||
Renderer::getScreenWidthModifier(), static_cast<float>(mTexture->getSize().y()) *
|
Renderer::getScreenWidthModifier(), static_cast<float>(mTexture->getSize().y()) *
|
||||||
Renderer::getScreenHeightModifier());
|
Renderer::getScreenWidthModifier());
|
||||||
mTexture->rasterizeAt(static_cast<size_t>(texSize.x()), static_cast<size_t>(texSize.y()));
|
mTexture->rasterizeAt(static_cast<size_t>(texSize.x()), static_cast<size_t>(texSize.y()));
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in a new issue