Tyyppi77 / imgui_sdl

ImGuiSDL: SDL2 based renderer for Dear ImGui

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The example program segfaults

RosenGeorgiev opened this issue · comments

SDL version: 2.0.9
ImGUI version: v.1.68
Compiler: gcc-4.8
Tested on Ubuntu 16.04 and OpenSuSE 42.1

Here is the backtrace:
# 0 0x00007ffff7b2d7d3 in ?? () from /usr/lib64/libSDL2-2.0.so.0
# 1 0x00000000004633a0 in (anonymous namespace)::DrawRectangle (bounding=..., texture=0x20aae00, color=...,
doHorizontalFlip=false, doVerticalFlip=false) at imgui_sdl.cpp:442
# 2 0x0000000000463a49 in ImGuiSDL::Render (drawData=0x2064690) at imgui_sdl.cpp:555
# 3 0x000000000040291f in main () at example.cpp:73

Related to #2, should be fixed in cc2372a. Apologies for the delay.