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

Stack around variable oglText is corrupted #3

Open
plamenko opened this issue Dec 4, 2016 · 2 comments
Open

Stack around variable oglText is corrupted #3

plamenko opened this issue Dec 4, 2016 · 2 comments

Comments

@plamenko
Copy link

plamenko commented Dec 4, 2016

Just calling constructor and destructor of OpenGLText corrupts the stack around it. This is with Visual Studio 2013, x64.

	{
		OpenGLText oglText;
	}
@plamenko
Copy link
Author

plamenko commented Dec 4, 2016

This could be due to #define USE_* directives being in cpp file and not in the header file.

@AaronBalint
Copy link

Was experiencing the same with gcc - moving ALL the #defines to OpenGLText.h resolved the issue.

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