Skip to content

Commit 5732c80

Browse files
committed
Allow resolution less than 800x600
1 parent 8cab4ad commit 5732c80

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

src/Layers/xrRender/HW.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,9 +556,6 @@ void fill_vid_mode_list(CHW* _hw)
556556
{
557557
string32 str;
558558

559-
if (it.Width < 800)
560-
continue;
561-
562559
xr_sprintf(str, sizeof(str), "%dx%d", it.Width, it.Height);
563560

564561
if (AVM.cend() != std::find_if(AVM.cbegin(), AVM.cend(), uniqueRenderingMode(str)))

src/Layers/xrRenderDX10/dx10HW.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -449,9 +449,6 @@ void fill_vid_mode_list(CHW* _hw)
449449
{
450450
string32 str;
451451

452-
if (it.Width < 800)
453-
continue;
454-
455452
xr_sprintf(str, sizeof(str), "%dx%d", it.Width, it.Height);
456453

457454
if (AVM.cend() != std::find_if(AVM.cbegin(), AVM.cend(), uniqueRenderingMode(str)))

src/Layers/xrRenderGL/glHW.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,6 @@ void fill_vid_mode_list(CHW* /*_hw*/)
276276
{
277277
string32 str;
278278

279-
if (dmi.dmPelsWidth < 800)
280-
continue;
281-
282279
xr_sprintf(str, sizeof(str), "%dx%d", dmi.dmPelsWidth, dmi.dmPelsHeight);
283280

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

0 commit comments

Comments
 (0)