diff options
| author | Yong He <yonghe@outlook.com> | 2024-02-23 16:39:46 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-23 16:39:46 -0800 |
| commit | 401d8cdb12ae69aeb216c80c9bb90240d8359649 (patch) | |
| tree | 4548c9de52bdeff424a0a3969ad407fccb3c0f09 /examples/platform-test | |
| parent | 58eb6f7da01af1767282ee12b0b4b25c57e52afb (diff) | |
Add slangc interface to compile and use ir modules. (#3615)
* Add slangc interface to compile and use ir modules.
* Fix glsl scalar layout settings not copied to target.
* Fix.
* Cleanups.
Diffstat (limited to 'examples/platform-test')
| -rw-r--r-- | examples/platform-test/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/platform-test/main.cpp b/examples/platform-test/main.cpp index 24673db1c..bfa00c5da 100644 --- a/examples/platform-test/main.cpp +++ b/examples/platform-test/main.cpp @@ -25,12 +25,12 @@ void onLostFocus() void onKeyDown(platform::KeyEventArgs args) { - printf("onKeyDown(key=0x%02x, buttons=0x%02x)\n", args.key, args.buttons); + printf("onKeyDown(key=0x%02x, buttons=0x%02x)\n", (uint32_t)args.key, args.buttons); } void onKeyUp(platform::KeyEventArgs args) { - printf("okKeyUp(key=0x%02x, buttons=0x%02x)\n", args.key, args.buttons); + printf("okKeyUp(key=0x%02x, buttons=0x%02x)\n", (uint32_t)args.key, args.buttons); } void onKeyPress(platform::KeyEventArgs args) |
