Skip to content

Commit 4145bac

Browse files
committed
renderer: add SILENTLY_CHECK_EXTENSION() macro
1 parent fd758d7 commit 4145bac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/engine/sys/sdl_glimp.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1970,6 +1970,8 @@ static bool LoadExt( int flags, bool hasExt, const char* name, bool test = true
19701970
return false;
19711971
}
19721972

1973+
#define SILENTLY_CHECK_EXTENSION( ext ) ( GLEW_##ext )
1974+
19731975
#define LOAD_EXTENSION(flags, ext) LoadExt(flags, GLEW_##ext, #ext)
19741976

19751977
#define LOAD_EXTENSION_WITH_TEST(flags, ext, test) LoadExt(flags, GLEW_##ext, #ext, test)

0 commit comments

Comments
 (0)