Bug 1298132 - remove unused variables in gfxVROculus.cpp; r=kip
authorNathan Froyd <froydnj@mozilla.com>
Wed, 14 Sep 2016 19:28:26 -0400
changeset 357459 ea26aa5ed06659432eb2b514a8d4ccb8a406ba0c
parent 357458 9a0e659b29bbd8f863c4b87b7b970d821a780205
child 357460 4af263033e78ebb50549fea767216d1d818f3c9c
push id1324
push usermtabara@mozilla.com
push dateMon, 16 Jan 2017 13:07:44 +0000
treeherdermozilla-release@a01c49833940 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerskip
bugs1298132
milestone51.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1298132 - remove unused variables in gfxVROculus.cpp; r=kip
gfx/vr/gfxVROculus.cpp
--- a/gfx/vr/gfxVROculus.cpp
+++ b/gfx/vr/gfxVROculus.cpp
@@ -347,19 +347,16 @@ VRDisplayOculus::VRDisplayOculus(ovrSess
   mDisplayInfo.mCapabilityFlags |= VRDisplayCapabilityFlags::Cap_Present;
 
   mFOVPort[VRDisplayInfo::Eye_Left] = mDesc.DefaultEyeFov[ovrEye_Left];
   mFOVPort[VRDisplayInfo::Eye_Right] = mDesc.DefaultEyeFov[ovrEye_Right];
 
   mDisplayInfo.mEyeFOV[VRDisplayInfo::Eye_Left] = FromFovPort(mFOVPort[VRDisplayInfo::Eye_Left]);
   mDisplayInfo.mEyeFOV[VRDisplayInfo::Eye_Right] = FromFovPort(mFOVPort[VRDisplayInfo::Eye_Right]);
 
-  uint32_t w = mDesc.Resolution.w;
-  uint32_t h = mDesc.Resolution.h;
-
   float pixelsPerDisplayPixel = 1.0;
   ovrSizei texSize[2];
 
   // get eye parameters and create the mesh
   for (uint32_t eye = 0; eye < VRDisplayInfo::NumEyes; eye++) {
 
     ovrEyeRenderDesc renderDesc = ovr_GetRenderDesc(mSession, (ovrEyeType)eye, mFOVPort[eye]);