Update GLAD
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 2m22s
All checks were successful
Run ReCI Build Test / Explore-Gitea-Actions (push) Successful in 2m22s
This commit is contained in:
@@ -32,7 +32,7 @@ CPMAddPackage(
|
|||||||
|
|
||||||
CPMAddPackage(
|
CPMAddPackage(
|
||||||
NAME GLAD
|
NAME GLAD
|
||||||
URL https://git.redacted.cc/Redacted/glad/archive/v2.1ext_fboV2.zip
|
URL https://git.redacted.cc/Redacted/glad/archive/v2.1ext_fbo_depthtexture_shadow.zip
|
||||||
)
|
)
|
||||||
|
|
||||||
CPMAddPackage(
|
CPMAddPackage(
|
||||||
|
@@ -64,6 +64,10 @@ namespace JGL {
|
|||||||
return false;
|
return false;
|
||||||
if (!GLAD_GL_ARB_framebuffer_object)
|
if (!GLAD_GL_ARB_framebuffer_object)
|
||||||
return false;
|
return false;
|
||||||
|
if (!GLAD_GL_ARB_depth_texture)
|
||||||
|
return false;
|
||||||
|
if (!GLAD_GL_ARB_shadow)
|
||||||
|
return false;
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user