Skip to content

Commit f446738

Browse files
RednerStateCacheH_test: initialize all create info members
1 parent a694c58 commit f446738

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

Tests/IncludeTest/GraphicsTools/RenderStateCacheH_test.c

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2019-2022 Diligent Graphics LLC
2+
* Copyright 2019-2025 Diligent Graphics LLC
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -29,7 +29,12 @@
2929
void TestRenderStateCacheCInterface()
3030
{
3131
RenderStateCacheCreateInfo CI;
32-
CI.pDevice = NULL;
32+
CI.pDevice = NULL;
33+
CI.pArchiverFactory = NULL;
34+
CI.LogLevel = RENDER_STATE_CACHE_LOG_LEVEL_VERBOSE;
35+
CI.EnableHotReload = true;
36+
CI.OptimizeGLShaders = true;
37+
CI.pReloadSource = NULL;
3338

3439
IRenderStateCache* pCache = NULL;
3540
Diligent_CreateRenderStateCache(&CI, &pCache);

0 commit comments

Comments
 (0)