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 AllowShortIfStatementsOnASingleLine: false
BreakBeforeBraces: Attach BreakBeforeBraces: Attach
NamespaceIndentation: All NamespaceIndentation: All
PointerAlignment: Left

View File

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

View File

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

View File

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