{"id":55,"date":"2007-02-24T09:04:06","date_gmt":"2007-02-24T08:04:06","guid":{"rendered":"http:\/\/www.ozone3d.net\/blogs\/lab\/?p=55"},"modified":"2008-02-01T09:34:08","modified_gmt":"2008-02-01T08:34:08","slug":"new-nvidia-opengl-extensions-headers","status":"publish","type":"post","link":"https:\/\/www.ozone3d.net\/blogs\/lab\/20070224\/new-nvidia-opengl-extensions-headers\/","title":{"rendered":"New NVIDIA OpenGL Extensions Headers"},"content":{"rendered":"<p>The new OpenGL headers files contain new extensions stuff. You can download them from&#8230; just a second, I start <a href=\"http:\/\/www.ozone3d.net\/gpu_caps_viewer\/\">GPU Caps Viewer<\/a> and&#8230; okay I got it :thumbup: : from <a href=\"http:\/\/developer.nvidia.com\/object\/nvidia_opengl_specs.html\">developer.nvidia.com\/object\/nvidia_opengl_specs.html<\/a>.<\/p>\n<p>But there are a couple of weird things:<\/p>\n<p>1 &#8211; the glext.h version is 28 (#define GL_GLEXT_VERSION 28). The version I use to compile the oZone3D engine renderer is the 29. And I use this header since more than one year&#8230;<\/p>\n<p>2 &#8211; the glext.h header does not compile with vc6 (yes I still use visual studio 6!) because of the GL_EXT_timer_query extension. Here is the origianl piece of code you can find in glext.h:<\/p>\n<pre>\r\n\/*\r\n* Original code - does not compile with vc6.\r\n*\/\r\n#ifndef GL_EXT_timer_query\r\ntypedef signed long long GLint64EXT;\r\ntypedef unsigned long long GLuint64EXT;\r\n#endif\r\n<\/pre>\n<p>and here is the code I updated for visual c 6:<\/p>\n<pre>\r\n\/*\r\nModified code for oZone3D engine - compile with vc6\r\n*\/\r\n#ifndef GL_EXT_timer_query\r\n\t#ifdef _WIN32\r\n\t\ttypedef signed __int64 GLint64EXT;\r\n\t\ttypedef unsigned __int64 GLuint64EXT;\r\n\t#else\r\n\t\ttypedef signed long long GLint64EXT;\r\n\t\ttypedef unsigned long long GLuint64EXT;\r\n\t#endif\r\n#endif\r\n<\/pre>\n<p>I wonder if the original glext.h compiles with vc7 or vc8. If anyone has the answer, feel free to contact me&#8230; <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The new OpenGL headers files contain new extensions stuff. You can download them from&#8230; just a second, I start GPU Caps Viewer and&#8230; okay I got it :thumbup: : from developer.nvidia.com\/object\/nvidia_opengl_specs.html. But there are a couple of weird things: 1 &#8211; the glext.h version is 28 (#define GL_GLEXT_VERSION 28). The version I use to compile the oZone3D engine renderer is the 29. And I use &hellip; <a href=\"https:\/\/www.ozone3d.net\/blogs\/lab\/20070224\/new-nvidia-opengl-extensions-headers\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">New NVIDIA OpenGL Extensions Headers<\/span> <span class=\"meta-nav\">&raquo;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[187,51,638],"class_list":["post-55","post","type-post","status-publish","format-standard","hentry","category-opengl","tag-extension","tag-nvidia","tag-opengl"],"aioseo_notices":[],"views":568,"_links":{"self":[{"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/posts\/55","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/comments?post=55"}],"version-history":[{"count":0,"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/posts\/55\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/media?parent=55"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/categories?post=55"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ozone3d.net\/blogs\/lab\/wp-json\/wp\/v2\/tags?post=55"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}