DXGL r644 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r643
|
r644
|
r645
>
Date:
02:08, 21 January 2016
Author:
admin
Status:
new
Tags:
Comment:
Only hook WM_SIZE in fullscreen and borderless modes if a scaled mode is selected in dxglcfg
Modified paths:
/ddraw/hooks.c
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/hooks.c
—
—
@@ -380,7 +380,7 @@
381
381
case WM_SIZE:
382
382
if (wParam != SIZE_MINIMIZED)
383
383
{
384
- if (((dxglcfg.fullmode == 0) || (dxglcfg.fullmode == 1)) && lpDD7)
384
+ if (((dxglcfg.fullmode == 0) || (dxglcfg.fullmode == 1)) && lpDD7 && (dxglcfg.scaler != 0))
385
385
{
386
386
glDirectDraw7_GetSizes(lpDD7, sizes);
387
387
if ((LOWORD(lParam) == sizes[4]) && (HIWORD(lParam) == sizes[5])) break;
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version