mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-10-20 15:21:21 -06:00
1st attempt to fix opengl initialization on linux
This commit is contained in:
parent
adca3035f9
commit
ac47ba5864
7 changed files with 119 additions and 51 deletions
|
@ -156,11 +156,6 @@ GLVolumeCollection::arrayref()
|
|||
%package{Slic3r::GUI::_3DScene};
|
||||
%{
|
||||
|
||||
void
|
||||
init_gl()
|
||||
CODE:
|
||||
_3DScene::init_gl();
|
||||
|
||||
std::string
|
||||
get_gl_info(format_as_html, extensions)
|
||||
bool format_as_html;
|
||||
|
@ -199,15 +194,6 @@ remove_all_canvases()
|
|||
CODE:
|
||||
_3DScene::remove_all_canvases();
|
||||
|
||||
bool
|
||||
init(canvas, useVBOs)
|
||||
SV *canvas;
|
||||
bool useVBOs;
|
||||
CODE:
|
||||
RETVAL = _3DScene::init((wxGLCanvas*)wxPli_sv_2_object(aTHX_ canvas, "Wx::GLCanvas"), useVBOs);
|
||||
OUTPUT:
|
||||
RETVAL
|
||||
|
||||
bool
|
||||
is_shown_on_screen(canvas)
|
||||
SV *canvas;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue