summaryrefslogtreecommitdiffstats
path: root/examples/shader-toy/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shader-toy/main.cpp')
-rw-r--r--examples/shader-toy/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/shader-toy/main.cpp b/examples/shader-toy/main.cpp
index c41bd71ca..e4e2cafcc 100644
--- a/examples/shader-toy/main.cpp
+++ b/examples/shader-toy/main.cpp
@@ -282,7 +282,7 @@ Result initialize()
gWindow->events.mouseDown = [this](const platform::MouseEventArgs& e) { handleEvent(e); };
InputElementDesc inputElements[] = {
- { "POSITION", 0, Format::RG_Float32, offsetof(FullScreenTriangle::Vertex, position) },
+ { "POSITION", 0, Format::R32G32_FLOAT, offsetof(FullScreenTriangle::Vertex, position) },
};
auto inputLayout = gDevice->createInputLayout(
&inputElements[0],