Fix some issues
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
#include <amethyst/iron.hpp>
|
||||
#include <amethyst/renderer.hpp>
|
||||
#include <amethyst/texture.hpp>
|
||||
#include <amethyst/utils.hpp>
|
||||
|
||||
namespace Amy {
|
||||
void RegisterCxxExceptionHandler();
|
||||
@@ -16,5 +17,4 @@ void RegisterCxxExceptionHandler();
|
||||
|
||||
using Iron = Amy::Iron;
|
||||
using C3D = Amy::C3D;
|
||||
using GTrace = Amy::GTrace;
|
||||
using Utils = Amy::Utils;
|
||||
using GTrace = Amy::GTrace;
|
||||
@@ -30,6 +30,7 @@ class C3D {
|
||||
ivec2 Size() const { return ivec2(pWidth, pHeight); }
|
||||
void Clear() { C3D_RenderTargetClear(pTarget, C3D_CLEAR_ALL, 0, 0); }
|
||||
void Use() { C3D_FrameDrawOn(pTarget); }
|
||||
C3D_RenderTarget* Ptr() { return pTarget; }
|
||||
|
||||
private:
|
||||
C3D_RenderTarget* pTarget = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user