X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fgldbg.cpp;h=b95f81d831d43d630556f0fa56ba7eae1c2cd833;hb=ee7f1e3a5912789664648ac5be85127e62c1cda5;hp=c91e00a79ec8171dd6672fbc8a1b9333209fa7e4;hpb=151c65f1157f3b55d0b794db788b557bbc50ed0c;p=gldbg.git diff --git a/source/gldbg.cpp b/source/gldbg.cpp index c91e00a..b95f81d 100644 --- a/source/gldbg.cpp +++ b/source/gldbg.cpp @@ -44,6 +44,8 @@ int GlDbg::main() IO::print("Type \"help\" for a list of commands\n"); Application::main(); + + return 0; } void GlDbg::launch() @@ -131,6 +133,7 @@ void GlDbg::read_stream() if(size<0) break; tracer.decode(data, len); + glstate.decode(data, len); buf_offset += size; } if(buf_offset>8192)