Skip to content

Commit

Permalink
CHange include path for webgpu
Browse files Browse the repository at this point in the history
  • Loading branch information
eliemichel committed Mar 5, 2023
1 parent 22e54ff commit cf88329
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Thanks to this extension it is possible to simply write a fully cross-platform W
#define GLFW_INCLUDE_NONE
#include <GLFW/glfw3.h>
#include <webgpu.h>
#include <webgpu/webgpu.h>
#include <stdio.h>
int main(int argc, char* argv[]) {
Expand Down
2 changes: 1 addition & 1 deletion examples/hello-glfw3webgpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

#define GLFW_INCLUDE_NONE
#include <GLFW/glfw3.h>
#include <webgpu.h>
#include <webgpu/webgpu.h>
#include <stdio.h>

int main(int argc, char* argv[]) {
Expand Down
2 changes: 1 addition & 1 deletion glfw3webgpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

#include "glfw3webgpu.h"

#include <webgpu.h>
#include <webgpu/webgpu.h>

#define WGPU_TARGET_MACOS 1
#define WGPU_TARGET_LINUX_X11 2
Expand Down
2 changes: 1 addition & 1 deletion glfw3webgpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
#ifndef _glfw3_webgpu_h_
#define _glfw3_webgpu_h_

#include <webgpu.h>
#include <webgpu/webgpu.h>
#include <GLFW/glfw3.h>

#ifdef __cplusplus
Expand Down

0 comments on commit cf88329

Please sign in to comment.