DXGL r59 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r58
|
r59
|
r60
>
Date:
17:52, 31 December 2011
Author:
admin
Status:
new
Tags:
Comment:
Fix typo
Modified paths:
/ddraw/glDirect3D.cpp
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glDirect3D.cpp
—
—
@@ -77,14 +77,14 @@
78
78
ddpf.dwFlags = DDPF_ZBUFFER;
79
79
ddpf.dwZBufferBitDepth = 16;
80
80
ddpf.dwZBitMask = 0xffff;
81
- if(lpEnumCallback(&ddpf,lpContext) == D3DEMUMRET_CANCEL) return D3D_OK;
81
+ if(lpEnumCallback(&ddpf,lpContext) == D3DENUMRET_CANCEL) return D3D_OK;
82
82
ddpf.dwZBufferBitDepth = 24;
83
83
ddpf.dwZBitMask = 0xffffff00;
84
- if(lpEnumCallback(&ddpf,lpContext) == D3DEMUMRET_CANCEL) return D3D_OK;
84
+ if(lpEnumCallback(&ddpf,lpContext) == D3DENUMRET_CANCEL) return D3D_OK;
85
85
ddpf.dwZBufferBitDepth = 32;
86
- if(lpEnumCallback(&ddpf,lpContext) == D3DEMUMRET_CANCEL) return D3D_OK;
86
+ if(lpEnumCallback(&ddpf,lpContext) == D3DENUMRET_CANCEL) return D3D_OK;
87
87
ddpf.dwZBitMask = 0xffffffff;
88
- if(lpEnumCallback(&ddpf,lpContext) == D3DEMUMRET_CANCEL) return D3D_OK;
88
+ if(lpEnumCallback(&ddpf,lpContext) == D3DENUMRET_CANCEL) return D3D_OK;
89
89
if(GLEXT_EXT_packed_depth_stencil || GLEXT_NV_packed_depth_stencil)
90
90
{
91
91
ddpf.dwZBufferBitDepth = 32;
—
—
@@ -91,10 +91,10 @@
92
92
ddpf.dwStencilBitDepth = 8;
93
93
ddpf.dwZBitMask = 0xffffff00;
94
94
ddpf.dwStencilBitMask = 0xff;
95
- if(lpEnumCallback(&ddpf,lpContext) == D3DEMUMRET_CANCEL) return D3D_OK;
95
+ if(lpEnumCallback(&ddpf,lpContext) == D3DENUMRET_CANCEL) return D3D_OK;
96
96
ddpf.dwZBitMask = 0x00ffffff;
97
97
ddpf.dwStencilBitMask = 0xff000000;
98
- if(lpEnumCallback(&ddpf,lpContext) == D3DEMUMRET_CANCEL) return D3D_OK;
98
+ if(lpEnumCallback(&ddpf,lpContext) == D3DENUMRET_CANCEL) return D3D_OK;
99
99
}
100
100
return D3D_OK;
101
101
}
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