Update GitHub Actions workflow to fix OpenGL dependencies
This commit is contained in:
parent
905e66b241
commit
e83c55f0e4
@ -16,3 +16,4 @@ BraceWrapping:
|
||||
AllowShortIfStatementsOnASingleLine: false
|
||||
BreakBeforeBraces: Attach
|
||||
NamespaceIndentation: All
|
||||
PointerAlignment: Left
|
||||
|
@ -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
|
@ -7,10 +7,5 @@ namespace Deer {
|
||||
struct ServiceScriptObject;
|
||||
|
||||
void apiFunction(asIScriptGeneric *gen);
|
||||
|
||||
struct ApiFunctionData {
|
||||
uint16_t serviceContextId;
|
||||
uint16_t serviceObjectId;
|
||||
};
|
||||
} // namespace EditorEngine
|
||||
} // namespace Deer
|
@ -173,7 +173,7 @@ namespace Deer {
|
||||
|
||||
AS_CHECK(scriptEngine->RegisterGlobalFunction(
|
||||
ext_dec.str().c_str(), asFUNCTION(apiFunction),
|
||||
asCALL_GENERIC));
|
||||
asCALL_GENERIC, func));
|
||||
}
|
||||
}
|
||||
} // namespace EditorEngine
|
||||
|
Loading…
x
Reference in New Issue
Block a user