Fllowup to previous commit, remove unused code
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 16 Sep 2015 15:20:16 +0000 (20:20 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 16 Sep 2015 15:20:16 +0000 (20:20 +0500)
intern/opensubdiv/opensubdiv_capi.cc

index dbd93a0a5e9996fbc4cae246c70537793904c2e7..a56e29f31b35d95c9b043546e021dbae9d542ff8 100644 (file)
@@ -305,7 +305,6 @@ int openSubdiv_supportGPUDisplay(void)
                static bool is_intel = false;
                if (!vendor_checked) {
                        const char *vendor = (const char *)glGetString(GL_VENDOR);
-                       const char *renderer = (const char *)glGetString(GL_RENDERER);
                        if (strstr(vendor, "Intel")) {
                                if(getenv("OPENSUBDIV_ALLOW_INTEL") == NULL) {
                                        is_intel = true;