mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-01 18:00:26 +00:00
Show GPU option only in DEVMODE
We've update the label "GPU acceleration" to avoid confusion between developers so they know that this option is not enabled in the final release.
This commit is contained in:
parent
7781ff69a1
commit
da0a8b7916
@ -1463,7 +1463,7 @@ screen_scaling = Screen Scaling:
|
||||
ui_scaling = UI Elements Scaling:
|
||||
language = Language:
|
||||
download_translations = Download Translations
|
||||
gpu_acceleration = GPU acceleration
|
||||
gpu_acceleration = GPU acceleration [DEVMODE/INTERNAL TESTING ONLY]
|
||||
gpu_acceleration_tooltip = Check this option to enable hardware acceleration
|
||||
show_menu_bar = Show Aseprite menu bar
|
||||
show_home = Show Home tab when Aseprite is started
|
||||
|
@ -497,8 +497,8 @@ public:
|
||||
// Scaling
|
||||
selectScalingItems();
|
||||
|
||||
#ifdef _DEBUG // TODO enable this on Release when Aseprite supports
|
||||
// GPU-acceleration properly
|
||||
#ifdef ENABLE_DEVMODE // TODO enable this on Release when Aseprite supports
|
||||
// GPU-acceleration properly
|
||||
if (os::instance()->hasCapability(os::Capabilities::GpuAccelerationSwitch)) {
|
||||
gpuAcceleration()->setSelected(m_pref.general.gpuAcceleration());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user