Skip to content
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

In macosx, example 4 runs but no object #9

Open
SuperSimon81 opened this issue Jan 29, 2019 · 8 comments
Open

In macosx, example 4 runs but no object #9

SuperSimon81 opened this issue Jan 29, 2019 · 8 comments
Assignees

Comments

@SuperSimon81
Copy link

Hello and thank you for a great tutorial series!

Ive used your tutorials successfully on windows but was trying to move over to mac for practical reasons. Tutorial 1 runs fine out of the box in VS 2017 on macosx. Tutorial 2-4 which are the ones im the most interested in builds and runs but there are no objects. See attached image. Any ideas on how to make the examples work? Has anyone else had any experience running the examples on mac?

screen shot 2019-01-29 at 23 31 00

@SuperSimon81
Copy link
Author

According to OpenGL Extensions Viewer my version of opengl should support 3.3. So idk what gives

@SuperSimon81
Copy link
Author

I changed the constructor to this:
public Game() : base(512,512, new GraphicsMode(32,24,0,4),"...", GameWindowFlags.Default, DisplayDevice.Default, 3, 3, GraphicsContextFlags.ForwardCompatible)

It removes the error in the console but still nothing

@neokabuto
Copy link
Owner

Thanks, I'll be taking a look into it as soon as I can. Which model Mac are you on?

@neokabuto neokabuto self-assigned this Feb 4, 2019
@SuperSimon81
Copy link
Author

Oh nice I wasnt sure you would reply. In the meantime I have been looking for examples of OpenTK used on Mac apart from immediate mode drawing but have found nothing. Here is a screenshot of my specs.

screen shot 2019-02-04 at 10 12 20

@neokabuto
Copy link
Owner

Can you test if changing the version in the shaders to 130 works for Tutorial 4 on your computer?

@SuperSimon81
Copy link
Author

Sadly it doesnt, it still cant compile the shaders.

screen shot 2019-03-06 at 10 11 20

@SuperSimon81
Copy link
Author

Not sure if this is info you need but GL.GetString(StringName.Version) returns "4.1 INTEL-10.36.23" and GL.GetString(StringName.ShadingLanguageVersion) returns "4.10"

@SuperSimon81
Copy link
Author

Another note: It seems that GL.GetShaderInfoLog(address) and GL.GetProgramInfoLog(pgmID) doesnt return anything at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants