mirror of
https://github.com/tildearrow/furnace.git
synced 2024-11-23 13:05:11 +00:00
GUI: rename GLSL/HLSL to GLSL
HLSL shader was never written
This commit is contained in:
parent
44973de675
commit
845ad18d45
1 changed files with 6 additions and 2 deletions
|
@ -539,11 +539,15 @@ void FurnaceGUI::drawSettings() {
|
|||
if (ImGui::IsItemHovered()) {
|
||||
ImGui::SetTooltip("render using Dear ImGui's built-in line drawing functions.");
|
||||
}
|
||||
if (ImGui::RadioButton("GLSL/HLSL (if available)",settings.shaderOsc==1)) {
|
||||
if (ImGui::RadioButton("GLSL (if available)",settings.shaderOsc==1)) {
|
||||
settings.shaderOsc=1;
|
||||
}
|
||||
if (ImGui::IsItemHovered()) {
|
||||
ImGui::SetTooltip("render using shaders that run on the graphics card.\nonly available in OpenGL render backend.");
|
||||
#ifdef USE_GLES
|
||||
ImGui::SetTooltip("render using shaders that run on the graphics card.\nonly available in OpenGL ES 2.0 render backend.");
|
||||
#else
|
||||
ImGui::SetTooltip("render using shaders that run on the graphics card.\nonly available in OpenGL 3.0 render backend.");
|
||||
#endif
|
||||
}
|
||||
ImGui::Unindent();
|
||||
|
||||
|
|
Loading…
Reference in a new issue