16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 11:19:19 +02:00

python task queue texture binding tweak, python task queue crash fix

This commit is contained in:
tmj-fstate
2018-10-12 22:07:42 +02:00
parent 7cf06246a6
commit 68f82be451
5 changed files with 10 additions and 7 deletions

View File

@@ -29,7 +29,7 @@ class render_task {
public:
// constructors
render_task( PyObject *Renderer, PyObject *Input, material_handle Target ) :
render_task( PyObject *Renderer, PyObject *Input, texture_handle Target ) :
m_renderer( Renderer ), m_input( Input ), m_target( Target )
{}
// methods
@@ -39,7 +39,7 @@ private:
// members
PyObject *m_renderer {nullptr};
PyObject *m_input { nullptr };
material_handle m_target { null_handle };
texture_handle m_target { null_handle };
};
class python_taskqueue {
@@ -50,7 +50,7 @@ public:
std::string const &renderer;
PyObject *input;
material_handle target;
texture_handle target;
};
// constructors
python_taskqueue() = default;