-
Notifications
You must be signed in to change notification settings - Fork 30
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cache to texture broken for Allegro 5 #27
Comments
Thanks. I bet it is the render caching. |
- Address issue #27. - Temporarily disable cache to texture. Broken with Allegro 5.2.
Cache to texture is broken. A texture is created and cleared (rendered to), but then controls are not drawn to the texture, and possible drawn in the wrong location. Odd, as appears to work for the properties test, but not standalone, so possibly something to with clipping or bounds calculation. |
* gwork: (54 commits) Use for-range Store and restore OpenGL states whilst rendering - Thanks to @lonestarr - garrynewman/GWEN#59 Tidy. Specific directory for SFML2 resource loading - Use directory relative to application executable. - Fixes issue #29 - Fix app resource copy for non-bundled apps. Add editor config. Use cmake file properties to set bundle resources for OSX. Replace deprecated method - SFML2.4 setColor deprecated Tidy. If tall menu descends off screen then clamp to screen height - Thanks to @qehgt - garrynewman/GWEN@c8aacf8 Include correct dialog header. - Thanks to @kklouzal - garrynewman/GWEN#95 Correct spelling of caret. - Thanks to @kklouzal garrynewman/GWEN#93 comment cannot be on same line. Disable use of CTT for color picker. - Address issue #27. - Temporarily disable cache to texture. Broken with Allegro 5.2. cmake: Make MacOS package - This fixes hi-res screen for Allegro5. See Allegro5 notes on building apps for OSX. Use C++11 def to build C++11. Add <cctype> header for std::isprint Changes to get GWork to compile on Windows/VS2015 Use DebugBreak to break into debugger - cross platform debug break to fix issue #25 - Correct readme - simplify gitignore - Output bin/lib to root. - cmake -D doesn't like spaces - Readme: use Allegro 5 instead of SDL2 as clipping bug not fixed Clarify origin of std::isprint ... # Conflicts: # cmake/Modules/FindAllegro5.cmake # cmgen.sh # source/gwork/include/Gwork/Skins/Simple.h # source/gwork/include/Gwork/Skins/TexturedBase.h # source/gwork/source/Events.cpp # source/platform/renderers/Allegro5/Allegro5.cpp # source/platform/renderers/Direct2D/Direct2D.cpp # source/platform/renderers/DirectX9/DirectX9.cpp # source/platform/renderers/GDIPlus/GDIPlus.cpp # source/platform/renderers/OpenGL/OpenGL.cpp # source/samples/Allegro5/Allegro5Sample.cpp # source/test/source/api/Button.cpp
* gwork: (54 commits) Use for-range Store and restore OpenGL states whilst rendering - Thanks to @lonestarr - garrynewman/GWEN#59 Tidy. Specific directory for SFML2 resource loading - Use directory relative to application executable. - Fixes issue #29 - Fix app resource copy for non-bundled apps. Add editor config. Use cmake file properties to set bundle resources for OSX. Replace deprecated method - SFML2.4 setColor deprecated Tidy. If tall menu descends off screen then clamp to screen height - Thanks to @qehgt - garrynewman/GWEN@c8aacf8 Include correct dialog header. - Thanks to @kklouzal - garrynewman/GWEN#95 Correct spelling of caret. - Thanks to @kklouzal garrynewman/GWEN#93 comment cannot be on same line. Disable use of CTT for color picker. - Address issue #27. - Temporarily disable cache to texture. Broken with Allegro 5.2. cmake: Make MacOS package - This fixes hi-res screen for Allegro5. See Allegro5 notes on building apps for OSX. Use C++11 def to build C++11. Add <cctype> header for std::isprint Changes to get GWork to compile on Windows/VS2015 Use DebugBreak to break into debugger - cross platform debug break to fix issue #25 - Correct readme - simplify gitignore - Output bin/lib to root. - cmake -D doesn't like spaces - Readme: use Allegro 5 instead of SDL2 as clipping bug not fixed Clarify origin of std::isprint ... # Conflicts: # cmake/Modules/FindAllegro5.cmake # cmgen.sh # source/gwork/include/Gwork/Skins/Simple.h # source/gwork/include/Gwork/Skins/TexturedBase.h # source/gwork/source/Events.cpp # source/platform/renderers/Allegro5/Allegro5.cpp # source/platform/renderers/Direct2D/Direct2D.cpp # source/platform/renderers/DirectX9/DirectX9.cpp # source/platform/renderers/GDIPlus/GDIPlus.cpp # source/platform/renderers/OpenGL/OpenGL.cpp # source/samples/Allegro5/Allegro5Sample.cpp # source/test/source/api/Button.cpp
Perhaps this would be better solved as a general render target texture, which might be used for other things. |
The ColorPicker sample for Allegro5 is broken.
I don't need to use this control, just thought you might want to know.
The text was updated successfully, but these errors were encountered: