Fllowup to previous commit, remove unused code
This commit is contained in:
@@ -305,7 +305,6 @@ int openSubdiv_supportGPUDisplay(void)
|
|||||||
static bool is_intel = false;
|
static bool is_intel = false;
|
||||||
if (!vendor_checked) {
|
if (!vendor_checked) {
|
||||||
const char *vendor = (const char *)glGetString(GL_VENDOR);
|
const char *vendor = (const char *)glGetString(GL_VENDOR);
|
||||||
const char *renderer = (const char *)glGetString(GL_RENDERER);
|
|
||||||
if (strstr(vendor, "Intel")) {
|
if (strstr(vendor, "Intel")) {
|
||||||
if(getenv("OPENSUBDIV_ALLOW_INTEL") == NULL) {
|
if(getenv("OPENSUBDIV_ALLOW_INTEL") == NULL) {
|
||||||
is_intel = true;
|
is_intel = true;
|
||||||
|
Reference in New Issue
Block a user