projects
/
platform
/
upstream
/
Vulkan-Tools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8871bed
)
layers: Use brackets for if in previous fix
author
Tony Barbour
<tony@LunarG.com>
Mon, 6 Apr 2015 17:09:26 +0000
(11:09 -0600)
committer
Chia-I Wu
<olv@lunarg.com>
Thu, 16 Apr 2015 09:33:28 +0000
(17:33 +0800)
layers/draw_state.cpp
patch
|
blob
|
history
diff --git
a/layers/draw_state.cpp
b/layers/draw_state.cpp
index
a1cb3c3
..
9245e0b
100644
(file)
--- a/
layers/draw_state.cpp
+++ b/
layers/draw_state.cpp
@@
-2582,8
+2582,9
@@
XGL_LAYER_EXPORT void XGLAPI xglCmdBeginRenderPass(XGL_CMD_BUFFER cmdBuffer, con
addCmd(pCB, CMD_BEGINRENDERPASS);
pCB->activeRenderPass = pRenderPassBegin->renderPass;
pCB->framebuffer = pRenderPassBegin->framebuffer;
- if (pCB->lastBoundPipeline)
+ if (pCB->lastBoundPipeline)
{
validatePipelineState(pCB, XGL_PIPELINE_BIND_POINT_GRAPHICS, pCB->lastBoundPipeline);
+ }
} else {
char str[1024];
sprintf(str, "Attempt to use CmdBuffer %p that doesn't exist!", (void*)cmdBuffer);