What's the best choice (SDL_TTF, FTGL, OGLFT, etc) of library to draw a TTF font with OpenGL?
Type: Posts; User: ewerton
What's the best choice (SDL_TTF, FTGL, OGLFT, etc) of library to draw a TTF font with OpenGL?
Using another driver from NVIDIA I mentioned, I realized that Glew not load any function but glewInit not returning any error. I decided to change the number of bits per pixel to 24 and everything...
My example worked on a machine with NVIDIA driver... But, I tested on another machine with other NVIDIA driver and it didn't work...
I use glew to load wglSwapIntervalEXT. glewinfo show me...
I didn't found this option in my driver' control panel =/ But the function wglSwapIntervalEXT(1) returns 1. This means that the vsync should be enabled?
Now I call the function by this way: wglSwapIntervalEXT(1)
I'm using cout to see the values of interval between the frames. I think the values must be equals at all iterations and, as my monitor...
I added glew source files to my project and it worked. Now I can call the extensions!
Thank you =)
I need vsync in my project. So, I called wglSwapIntervalEXT(60). At function BOOL wglSwapIntervalEXT(int interval), the parameter interval must be my monitor frequency? Do I need call another...
I got GLEW_OK on glewInit, but glGetStringi don't compile, I got undefined reference. What shall be wrong?
glewExperimental is a undefined reference too.
The error is:
'glGetStringi' was not declared in this scope
I want to know the opengl extensions, using glGetStringi, but the code doesn't compile. What the include for glGetStringi?
I'm using Code::Blocks with mingw on windows 7.
My code:
#include...