Mesa (mesa_7_6_branch): prog/tests: Fix MSVC build.

Vinson Lee vlee at kemper.freedesktop.org
Thu Dec 3 23:15:23 UTC 2009


Module: Mesa
Branch: mesa_7_6_branch
Commit: 89e747920f35f28d651ad89380f58250aab7c2d4
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=89e747920f35f28d651ad89380f58250aab7c2d4

Author: Vinson Lee <vlee at vmware.com>
Date:   Mon Oct 12 18:05:05 2009 -0600

prog/tests: Fix MSVC build.
(cherry picked from commit 96fd13c1a024e3b6c0b1c44394c67c772e52b9c9)

---

 progs/tests/crossbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/progs/tests/crossbar.c b/progs/tests/crossbar.c
index 3dd2137..bd8e05a 100644
--- a/progs/tests/crossbar.c
+++ b/progs/tests/crossbar.c
@@ -145,7 +145,7 @@ static void Init( void )
 {
    const char * const ver_string = (const char * const)
        glGetString( GL_VERSION );
-   float ver = strtof( ver_string, NULL );
+   float ver = strtod( ver_string, NULL );
    GLint tex_units;
    GLint temp[ 256 ];
 




More information about the mesa-commit mailing list