Skip to content
This repository has been archived by the owner on May 6, 2021. It is now read-only.

Commit

Permalink
Fix broken videoMode setting (#429)
Browse files Browse the repository at this point in the history
Changing videoMode to 3DTAB or 3DSBS has no effect because user
provided value is forced to lower case but check is done in upper case

@see: https://github.com/hyperion-project/hyperion/issues/429
  • Loading branch information
fleXible committed Mar 18, 2020
1 parent 7d5fe51 commit 8bc1351
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/utils/VideoMode.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ enum VideoMode
inline VideoMode parse3DMode(std::string videoMode)
{
// convert to lower case
std::transform(videoMode.begin(), videoMode.end(), videoMode.begin(), ::tolower);
std::transform(videoMode.begin(), videoMode.end(), videoMode.begin(), ::toupper);

if (videoMode == "3DTAB")
{
Expand Down

0 comments on commit 8bc1351

Please sign in to comment.