Add Context to core

This commit is contained in:
2017-10-12 04:50:33 -05:00
parent 329e8be825
commit 507c894c15
8 changed files with 62 additions and 28 deletions
+5 -4
View File
@@ -5,14 +5,15 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
#include <ox/std/types.hpp>
#include "gfx.hpp"
#include "core.hpp"
namespace nostalgia {
namespace core {
ox::Error init() {
auto err = initGfx();
ox::Error init(Context *ctx) {
ox::Error err = 0;
err = initGfx(ctx);
return err;
}