mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-14 07:36:15 +00:00
Fix all Windows warnings
This commit is contained in:
committed by
Corentin Wallez
parent
8fca4a21b7
commit
83e779d8f2
@@ -257,7 +257,7 @@ void init() {
|
||||
struct {uint32_t a; float b;} s;
|
||||
void frame() {
|
||||
s.a = (s.a + 1) % 256;
|
||||
s.b += 0.01;
|
||||
s.b += 0.01f;
|
||||
if (s.b >= 1.0f) {s.b = 0.0f;}
|
||||
static const uint32_t vertexBufferOffsets[1] = {0};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user