Update GitHub Actions workflow to fix OpenGL dependencies

This commit is contained in:
Chewico 2025-06-23 16:30:31 +02:00
parent 905e66b241
commit e83c55f0e4
4 changed files with 7 additions and 7 deletions

View File

@ -16,3 +16,4 @@ BraceWrapping:
AllowShortIfStatementsOnASingleLine: false
BreakBeforeBraces: Attach
NamespaceIndentation: All
PointerAlignment: Left

View File

@ -1,10 +1,14 @@
#include "ServiceScriptGenericFunction.h"
#include "Deer/Log.h"
#include "angelscript.h"
namespace Deer {
void EditorEngine::apiFunction(asIScriptGeneric *func) {
void EditorEngine::apiFunction(asIScriptGeneric* func) {
DEER_CORE_TRACE("Called function {0}",
func->GetFunction()->GetDeclaration());
asIScriptFunction* aux_funx = (asIScriptFunction*)func->GetAuxiliary();
DEER_CORE_TRACE("Real function {0}", aux_funx->GetDeclaration());
}
} // namespace Deer

View File

@ -7,10 +7,5 @@ namespace Deer {
struct ServiceScriptObject;
void apiFunction(asIScriptGeneric *gen);
struct ApiFunctionData {
uint16_t serviceContextId;
uint16_t serviceObjectId;
};
} // namespace EditorEngine
} // namespace Deer

View File

@ -173,7 +173,7 @@ namespace Deer {
AS_CHECK(scriptEngine->RegisterGlobalFunction(
ext_dec.str().c_str(), asFUNCTION(apiFunction),
asCALL_GENERIC));
asCALL_GENERIC, func));
}
}
} // namespace EditorEngine