layers: Use brackets for if in previous fix
diff --git a/layers/draw_state.cpp b/layers/draw_state.cpp
index a1cb3c3..9245e0b 100644
--- a/layers/draw_state.cpp
+++ b/layers/draw_state.cpp
@@ -2582,8 +2582,9 @@
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);