Skip to content

Commit 3cc0661

Browse files
authored
Fix conditional survey buffer flags. (#178)
1 parent 8604878 commit 3cc0661

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

MarathonRecomp/gpu/video.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2162,7 +2162,7 @@ bool Video::CreateHostDevice(const char *sdlVideoDriver, bool graphicsApiRetry)
21622162
RenderBufferDesc conditionalSurveyBufferDesc;
21632163
conditionalSurveyBufferDesc.size = CONDITIONAL_SURVEY_MAX * sizeof(uint32_t);
21642164
conditionalSurveyBufferDesc.heapType = RenderHeapType::DEFAULT;
2165-
conditionalSurveyBufferDesc.flags = RenderBufferFlag::STORAGE | RenderTextureFlag::UNORDERED_ACCESS;
2165+
conditionalSurveyBufferDesc.flags = RenderBufferFlag::STORAGE | RenderBufferFlag::UNORDERED_ACCESS;
21662166
g_conditionalSurveyBuffer = g_device->createBuffer(conditionalSurveyBufferDesc);
21672167

21682168
RenderDescriptorSetBuilder conditionalSurveyDescriptorSetBuilder;

0 commit comments

Comments
 (0)