Ralph Campbell
2014-01-20 16:02:50 UTC
I was trying to find out why the g2dtest LineClipTest() and
BoxClipTest() weren't displaying anything.
When I added a printf() in libs/csplugincommon/opengl/glcommon2d.cpp
DrawLine(), I started to see lines being drawn.
I suspect there is some issue with drawing commands being buffered and
not flushed to the display per frame so that nothing is seen unless
there is a delay.
Perhaps this is enough of a hint to find the problem.
BoxClipTest() weren't displaying anything.
When I added a printf() in libs/csplugincommon/opengl/glcommon2d.cpp
DrawLine(), I started to see lines being drawn.
I suspect there is some issue with drawing commands being buffered and
not flushed to the display per frame so that nothing is seen unless
there is a delay.
Perhaps this is enough of a hint to find the problem.