camera: get rid of mipmap in rotating fake camera

Mac does not support it yet.

BUG: 65366470

Test: Run the RV verifier test and it should pass
on Mac.

Change-Id: I71661f5494caf7aa32eb42c62d5b23ca4e615152
diff --git a/camera/EmulatedFakeRotatingCameraDevice.cpp b/camera/EmulatedFakeRotatingCameraDevice.cpp
index f0eaffa..47dc162 100755
--- a/camera/EmulatedFakeRotatingCameraDevice.cpp
+++ b/camera/EmulatedFakeRotatingCameraDevice.cpp
@@ -178,10 +178,11 @@
     glGenTextures(1, &mTexture);
     glBindTexture(GL_TEXTURE_2D, mTexture);
     glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA, width, width, 0, GL_RGBA, GL_UNSIGNED_BYTE, myrgba2);
-    glGenerateMipmapOES(GL_TEXTURE_2D);
-    // need to use mipmap, otherwise the dots will have sharp edges
-    glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR_MIPMAP_LINEAR);
-    glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR_MIPMAP_LINEAR);
+    //glGenerateMipmapOES does not work on mac, dont use it.
+    //glGenerateMipmapOES(GL_TEXTURE_2D);
+    // need to use linear, otherwise the dots will have sharp edges
+    glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
+    glTexParameterx(GL_TEXTURE_2D, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
     glTexEnvx(GL_TEXTURE_ENV, GL_TEXTURE_ENV_MODE, GL_REPLACE);
     delete[] myrgba;
     delete[] myrgba2;