-
Notifications
You must be signed in to change notification settings - Fork 580
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
Add support for SDL2 backend #32
base: master
Are you sure you want to change the base?
Conversation
@Srinivasa314 this compiles and runs with no problems, however:
|
4f767ea
to
2932025
Compare
I am not entirely sure. This is what I think.
Fixed it. Now window is centered. |
Centering works great now! Initial input has a good 9 seconds delay though, but if this doesn't happen on your end it may just be my environment. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found that compiling on mac I had to change the |
Fixed it
I do not have a mac. Can you show the stacktrace?
I think it is because in some desktop environments you cannot use the keyboard and the mouse at the same time. If it is because of that then you can change that setting. |
No trace, just |
You can use |
It says
I also have to add -std=c++11 for it to compile btw, it complains about a bunch of stuff otherwise and gives an error that
|
I think I fixed it. Check if it works now. |
rm ${OBJS} | ||
|
||
${EXE}: ${OBJS} | ||
${LINK} ${LINKFLAGS} $^ -o ${EXE} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After lone debug, In my ubuntu20, I found that L38 change to this could work.
${LINK} $^ ${LINKFLAGS} -o ${EXE}
Hello, where can I get the code that compiles and works on mac please? Thank you. |
Fix fractional scaling and sluggish mouse movement
@Srinivasa314 @Srikanth-M-02 could you please tell me how to get the code that will run on Mac? |
|
Is it working @ramanshsharma2806 ? |
Btw scene 4 works if I replace the bunny.obj and suzanne.obj with other obj files |
@Sussy-OS They're PRs for the same repo anyway, so the permission should already be implicitly there. Would definitely be great if this worked. |
CzechBlueBear/NonEuclidean adds support for SDL2 backend but unfortunately it is has a lot of bugs. This pull request will merge changes from his repo with the following changes