Skip to content

Commit 86b7ce2

Browse files
committed
Merge pull request #3 from Microsoft/develop
Develop
2 parents 62ec104 + e88e772 commit 86b7ce2

8 files changed

Lines changed: 8 additions & 8 deletions

File tree

Samples/D3D1211On12/src/D3D1211On12.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ void D3D1211on12::LoadAssets()
224224
ComPtr<ID3DBlob> vertexShader;
225225
ComPtr<ID3DBlob> pixelShader;
226226

227-
#if DEBUG
227+
#ifdef _DEBUG
228228
// Enable better shader debugging with the graphics debugging tools.
229229
UINT compileFlags = D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION;
230230
#else

Samples/D3D12ExecuteIndirect/src/D3D12ExecuteIndirect.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ void D3D12ExecuteIndirect::LoadAssets()
211211
ComPtr<ID3DBlob> computeShader;
212212
ComPtr<ID3DBlob> error;
213213

214-
#if DEBUG
214+
#ifdef _DEBUG
215215
// Enable better shader debugging with the graphics debugging tools.
216216
UINT compileFlags = D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION;
217217
#else

Samples/D3D12HelloWorld/src/HelloBundles/D3D12HelloBundles.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ void D3D12HelloBundles::LoadAssets()
148148
ComPtr<ID3DBlob> vertexShader;
149149
ComPtr<ID3DBlob> pixelShader;
150150

151-
#if DEBUG
151+
#ifdef _DEBUG
152152
// Enable better shader debugging with the graphics debugging tools.
153153
UINT compileFlags = D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION;
154154
#else

Samples/D3D12HelloWorld/src/HelloConstBuffers/D3D12HelloConstBuffers.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ void D3D12HelloConstBuffers::LoadAssets()
172172
ComPtr<ID3DBlob> vertexShader;
173173
ComPtr<ID3DBlob> pixelShader;
174174

175-
#if DEBUG
175+
#ifdef _DEBUG
176176
// Enable better shader debugging with the graphics debugging tools.
177177
UINT compileFlags = D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION;
178178
#else

Samples/D3D12HelloWorld/src/HelloTriangle/D3D12HelloTriangle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ void D3D12HelloTriangle::LoadAssets()
147147
ComPtr<ID3DBlob> vertexShader;
148148
ComPtr<ID3DBlob> pixelShader;
149149

150-
#if DEBUG
150+
#ifdef _DEBUG
151151
// Enable better shader debugging with the graphics debugging tools.
152152
UINT compileFlags = D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION;
153153
#else

Samples/D3D12Multithreading/src/D3D12Multithreading.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ void D3D12Multithreading::LoadAssets()
195195
ComPtr<ID3DBlob> vertexShader;
196196
ComPtr<ID3DBlob> pixelShader;
197197

198-
#if DEBUG
198+
#ifdef _DEBUG
199199
// Enable better shader debugging with the graphics debugging tools.
200200
UINT compileFlags = D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION;
201201
#else

Samples/D3D12PredicationQueries/src/D3D12PredicationQueries.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ void D3D12PredicationQueries::LoadAssets()
185185
ComPtr<ID3DBlob> vertexShader;
186186
ComPtr<ID3DBlob> pixelShader;
187187

188-
#if DEBUG
188+
#ifdef _DEBUG
189189
// Enable better shader debugging with the graphics debugging tools.
190190
UINT compileFlags = D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION;
191191
#else

Samples/D3D12nBodyGravity/src/D3D12nBodyGravity.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ void D3D12nBodyGravity::LoadAssets()
212212
ComPtr<ID3DBlob> pixelShader;
213213
ComPtr<ID3DBlob> computeShader;
214214

215-
#if DEBUG
215+
#ifdef _DEBUG
216216
// Enable better shader debugging with the graphics debugging tools.
217217
UINT compileFlags = D3DCOMPILE_DEBUG | D3DCOMPILE_SKIP_OPTIMIZATION;
218218
#else

0 commit comments

Comments
 (0)