Skip to content

Commit

Permalink
Allow resolution less than 800x600
Browse files Browse the repository at this point in the history
  • Loading branch information
Xottab-DUTY committed May 2, 2018
1 parent 8cab4ad commit 5732c80
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
3 changes: 0 additions & 3 deletions src/Layers/xrRender/HW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -556,9 +556,6 @@ void fill_vid_mode_list(CHW* _hw)
{
string32 str;

if (it.Width < 800)
continue;

xr_sprintf(str, sizeof(str), "%dx%d", it.Width, it.Height);

if (AVM.cend() != std::find_if(AVM.cbegin(), AVM.cend(), uniqueRenderingMode(str)))
Expand Down
3 changes: 0 additions & 3 deletions src/Layers/xrRenderDX10/dx10HW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -449,9 +449,6 @@ void fill_vid_mode_list(CHW* _hw)
{
string32 str;

if (it.Width < 800)
continue;

xr_sprintf(str, sizeof(str), "%dx%d", it.Width, it.Height);

if (AVM.cend() != std::find_if(AVM.cbegin(), AVM.cend(), uniqueRenderingMode(str)))
Expand Down
3 changes: 0 additions & 3 deletions src/Layers/xrRenderGL/glHW.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -276,9 +276,6 @@ void fill_vid_mode_list(CHW* /*_hw*/)
{
string32 str;

if (dmi.dmPelsWidth < 800)
continue;

xr_sprintf(str, sizeof(str), "%dx%d", dmi.dmPelsWidth, dmi.dmPelsHeight);

if (AVM.cend() != find_if(AVM.cbegin(), AVM.cend(), uniqueRenderingMode(str)))
Expand Down

0 comments on commit 5732c80

Please sign in to comment.