Check for graphics driver support.
Some checks failed
Run ReCI Build Test / Explore-Gitea-Actions (push) Failing after 1m44s

This commit is contained in:
2024-09-19 19:39:07 -04:00
parent e712a5aaa3
commit 131ce4c78e
3 changed files with 17 additions and 1 deletions

View File

@@ -34,6 +34,8 @@ namespace JGL {
void Update(const Vector2& window_size);
inline void PurgeFontCache() { fontCache.purgeCache(); }
std::vector<GLfloat> OpenGLPerspectiveProjectionRH(float fovY, float aspect, float z_near, float z_far);
/// Returns true if the graphics driver meets the requirements (GL Version & Extensions).
bool MeetsRequirements();
/// Drawing functions for primitive 2D Shapes.
namespace J2D {