mirror of
https://git.h3cjp.net/H3cJP/yuzu.git
synced 2024-11-14 11:22:51 +00:00
Merge pull request #1773 from lioncash/debug-build
gl_rasterizer: Fix compilation for debug builds
This commit is contained in:
commit
1ec1325117
|
@ -63,7 +63,7 @@ union PicaShaderConfig {
|
||||||
// We don't sync const_color here because of the high variance, it is a
|
// We don't sync const_color here because of the high variance, it is a
|
||||||
// shader uniform instead.
|
// shader uniform instead.
|
||||||
const auto& tev_stages = regs.GetTevStages();
|
const auto& tev_stages = regs.GetTevStages();
|
||||||
DEBUG_ASSERT(res.tev_stages.size() == tev_stages.size());
|
DEBUG_ASSERT(state.tev_stages.size() == tev_stages.size());
|
||||||
for (size_t i = 0; i < tev_stages.size(); i++) {
|
for (size_t i = 0; i < tev_stages.size(); i++) {
|
||||||
const auto& tev_stage = tev_stages[i];
|
const auto& tev_stage = tev_stages[i];
|
||||||
state.tev_stages[i].sources_raw = tev_stage.sources_raw;
|
state.tev_stages[i].sources_raw = tev_stage.sources_raw;
|
||||||
|
|
Loading…
Reference in a new issue