Comments (7)
fixed in b35a133
This replaces all usage of the quads primitive and replaces them with other primitive types.
Will leave issue open as the part about converting to SFML 3 still stands.
Note that ConsoleScreenOld still has the quads usage. This version doesn't get updated and will likely get removed eventually.
from selbaward.
I have created a new branch, "sfml3", to carry a version that should work with the latest WIP version of SFML 3 (master branch).
I've done some testing with it and SFML 3. Feel free to try out this new branch with SFML 3 to see if it works for you as well and, please, let me know if you have any issues with it or even, indeed, if everything is fine!
from selbaward.
Great news, thanks! (I've been down some other rabbit holes, but I'll keep it in mind in case I do surface eventually and then dive in here.)
(I'm closing this, as the original question has been more than answered. Thanks again!)
from selbaward.
I would certainly be up for migrating to SFML 3, sure. When a concrete user-interface is announced, I'll look into re-making the stuff properly.
Are ConsoleScreen and PixelDisplay a problem already? Are quads deprecated within SFML? They shouldn't be causing errors if they are not. If they are deprecated, the documentation shouldn't be showing them as if they're okay.
Unless... you're using the latest version rather than the latest release, maybe?
Obviously, they're deprecated in OpenGL though so it's best to move into correct practices...
With all that being said, I'll be updating them soon; this should, at least, help with the step towards SFML 3 (or the latest 2.x build if they deprecate them too).
from selbaward.
Quads will be deprecated in SFML 2.6 and removed with SFML 3.
If you're on the SFML master branch (SFML 3 WIP), then it won't compile, but there may also be other issues.
from selbaward.
Thanks for the info!
Replacing them in advance of SFML 2.6's release seems like it makes the most sense. This should remove all issues with it including future deprecation and removal. Best to do it now!
from selbaward.
Fantastic! I've not yet been using those components, but they're high on my wish list, and Quads
used to be a showstopper, which isn't then any more, thanks!
(Note that there are going to be various other incompatible changes toward SFML 3, so it's a good thing to keep this issue open, indeed. If I get to finally integrate your bits, I'll be back reporting other compatibility issues if/as I encounter them. FYI, since I have no legacy SFML code to maintain, I've just committed to using the (somewhat unstable) v3 API.)
from selbaward.
Related Issues (20)
- Console Screen - Colour commands don't work properly in printStretchedAt()
- Wiki - Spline doesn't compile with versions of SFML below v2.4 HOT 10
- m_thickness not initialized in Spline class
- NinePatch does not combine its transform with the RenderStates transform HOT 4
- ProgressBar HOT 7
- BitmapText does not check if internal font handle is null HOT 1
- Some missing explicit inclusions and namespaces
- Initialization Order. HOT 10
- Suggestion. sw::Spline -> sw::Polygon. HOT 3
- (ElasticSprite) Texture cut off when perspective interpolation enabled HOT 5
- Spline closes incorrectly with certain corner types HOT 1
- Spline should limit corner point length HOT 1
- Thank you for this I dont know who to contact HOT 2
- Error LNK2019 HOT 2
- The purpose of subdivision in Sprite3D HOT 1
- Unable to make a rotating cube HOT 11
- Ring shape - incorrect size HOT 3
- Remove Old Version of Console Screen HOT 1
- Continuous Integration Error Output HOT 14
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from selbaward.