Comments (2)
In main.cpp, try changing the line:
static const SDL_PixelFormatEnum TextureFormat = SDL_PIXELFORMAT_RGB565;
to:
static auto TextureFormat = SDL_PIXELFORMAT_RGB565;
and see if you can get it to compile. Let me know.
Thanks!
Dan
from smalltalk.
Yup, got it to work with that change, also had to remove the -lSDL2main from the Makefile too for my setup. Now I have to figure out how to make the interpreter wait. I right-click, and it thinks I'm selecting what's directly below the menu because it's still seeing button-down from bluebutton. No doubt if I look through the source I could find that timer, and perhaps extend it. A lot. 50ms is a bit short to expect someone to be able to react to the menu popping up.
EDIT: Ahh, there's a -delay switch. That's that problem ameliorated, at least.
from smalltalk.
Related Issues (8)
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 smalltalk.