mirror of
https://github.com/seekrs/MacroLibX.git
synced 2026-01-11 14:43:34 +00:00
re-adding render to texture
This commit is contained in:
@@ -67,7 +67,8 @@ namespace mlx
|
||||
catch(...) { return nullptr; }
|
||||
|
||||
m_graphics.emplace_back(std::make_unique<GraphicsSupport>(info, m_graphics.size()));
|
||||
m_in.RegisterWindow(m_graphics.back()->GetWindow());
|
||||
if(m_graphics.back()->HasWindow())
|
||||
m_in.RegisterWindow(m_graphics.back()->GetWindow());
|
||||
m_graphics.back()->GetScene().BindFont(p_last_font_bound);
|
||||
window->id = m_graphics.back()->GetID();
|
||||
return window;
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
#ifndef __MLX_HANDLES__
|
||||
#define __MLX_HANDLES__
|
||||
|
||||
#include <Core/Application.h>
|
||||
#include <Renderer/Image.h>
|
||||
|
||||
extern "C"
|
||||
{
|
||||
struct mlx_context_handler
|
||||
|
||||
Reference in New Issue
Block a user