Update GitHub Actions workflow to fix OpenGL dependencies
This commit is contained in:
parent
905e66b241
commit
e83c55f0e4
@ -16,3 +16,4 @@ BraceWrapping:
|
|||||||
AllowShortIfStatementsOnASingleLine: false
|
AllowShortIfStatementsOnASingleLine: false
|
||||||
BreakBeforeBraces: Attach
|
BreakBeforeBraces: Attach
|
||||||
NamespaceIndentation: All
|
NamespaceIndentation: All
|
||||||
|
PointerAlignment: Left
|
||||||
|
@ -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
|
@ -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
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user