diff --git a/src/Refresh_Driver_D3D11.c b/src/Refresh_Driver_D3D11.c index 01d2949..59f270f 100644 --- a/src/Refresh_Driver_D3D11.c +++ b/src/Refresh_Driver_D3D11.c @@ -1192,7 +1192,7 @@ static Refresh_GraphicsPipeline* D3D11_CreateGraphicsPipeline( pipeline->fragmentShader = (ID3D11PixelShader*) fragShaderModule->shader; pipeline->numFragmentSamplers = pipelineCreateInfo->fragmentShaderInfo.samplerBindingCount; pipeline->fragmentUniformBlockSize = D3D11_INTERNAL_NextHighestAlignment( - (uint32_t) pipelineCreateInfo->vertexShaderInfo.uniformBufferSize, + (uint32_t) pipelineCreateInfo->fragmentShaderInfo.uniformBufferSize, 256 );