Skip to content

Commit aeaa1ce

Browse files
committed
ICPUBuffer: update remaining usages
Signed-off-by: Ali Cheraghi <alichraghi@proton.me>
1 parent 5a14fde commit aeaa1ce

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

include/nbl/builtin/hlsl/math/equations/quadratic.hlsl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,6 @@
1010
#define nbl_hlsl_FLT_EPSILON 5.96046447754e-08
1111
#endif
1212

13-
#ifdef __HLSL_VERSION
14-
fjlksad;fjslakdfj
15-
#endif
16-
1713
#define SHADER_CRASHING_ASSERT(expr) \
1814
do { \
1915
[branch] if (!(expr)) \

src/nbl/ext/TextRendering/TextRendering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ core::smart_refctd_ptr<ICPUImage> FontFace::generateGlyphMSDF(uint32_t baseMSDFP
109109
}
110110

111111
auto image = ICPUImage::create(std::move(imgParams));
112-
auto buffer = ICPUBuffer::create({ .size = bufferSize });
112+
auto buffer = ICPUBuffer::create({ bufferSize });
113113
auto regions = core::make_refctd_dynamic_array<core::smart_refctd_dynamic_array<IImage::SBufferCopy>>(mipLevels);
114114

115115
size_t bufferOffset = 0ull;

0 commit comments

Comments
 (0)