Skip to content

Commit

Permalink
Fallback EGL + version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
philkr committed Feb 5, 2025
1 parent b49aa71 commit e69b141
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions lib/irrlicht/source/Irrlicht/CContextEGL.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -236,9 +236,14 @@ bool EGL::init() {

void* handle = dlopen("libEGL.so", RTLD_LAZY);
if (!handle) {
handle = dlopen("libEGL.so.1", RTLD_LAZY);
if (!handle) {
handle = dlopen("libEGL.so.1.1.0", RTLD_LAZY);
}
// TODO: try fallback locations
}
if (!handle) {
os::Printer::log("Error: Could not find EGL library.\n");
return false;
}
GetProcAddress = (GetProcAddress_t)dlsym(handle, "eglGetProcAddress");
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ def ignore(base, entries):

setup(
name='PySuperTuxKart',
version='1.1.3',
version='1.1.4',
author='Philipp Krähenbühl',
author_email='philkr@utexas.edu',
description='Python SuperTuxKart inferface',
Expand Down
1 change: 1 addition & 0 deletions src/font/font_manager.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
#include "utils/log.hpp"
#include "utils/no_copy.hpp"

#include <cstdint>
#include <string>
#include <map>
#include <typeindex>
Expand Down

0 comments on commit e69b141

Please sign in to comment.