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

glGenPathsNV throws exception (null pointer) when compiled in Visual Studio 2022 #1

Open
gmgallo opened this issue May 5, 2024 · 0 comments

Comments

@gmgallo
Copy link

gmgallo commented May 5, 2024

The glGenPathsNV function pointer is not resolved at this line:
void drawPathString(const char *s)
{
...
[line 456] glyphBase = glGenPathsNV(1 + numChars);

Exception; 0xC0000005: Access violation executing location 0x0000000000000000.

Setting
bool use_nvpr = 0; // -bitmap sets false
avoids the call to that function and the code runs to completion.

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

1 participant