Skip to content

Commit

Permalink
Emscripten extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumeblanc committed Mar 15, 2024
1 parent e42a79c commit f2182ba
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions samples/framework/internal/renderer_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@
#ifdef EMSCRIPTEN
// include features as core functions.
#include <GLES2/gl2.h>

#else // EMSCRIPTEN
#endif // EMSCRIPTEN

// Detects already defined GL_VERSION and deduces required extensions.
#ifndef GL_VERSION_1_5
Expand All @@ -58,9 +57,7 @@
#define OZZ_GL_VERSION_3_0_EXT
#endif // GL_VERSION_3_0

#endif // EMSCRIPTEN

// Include features as extentions
// Include features as extensions
#include "GL/glext.h"
#include "framework/renderer.h"
#include "ozz/base/containers/vector.h"
Expand Down

0 comments on commit f2182ba

Please sign in to comment.