deal properly with resize/retina in eglPlugin/eglRendererVisualShapeConverter
This commit is contained in:
1 parent
b410e44137
commit
a38093ad61
2 files changed
+7
-2
No files matched your search
@@ -1839,9 +1839,12 @@ bool PhysXServerCommandProcessor::processForwardDynamicsCommand(const struct Sha
|
||||
float* depthBuffer = 0;
|
||||
int* segmentationMaskBuffer = 0;
|
||||
int startPixelIndex = 0;
|
||||
|
||||
int width = 1024;
|
||||
int height = 768;
|
||||
m_data->m_pluginManager.getRenderInterface()->getWidthAndHeight(width, height);
|
||||
int numPixelsCopied = 0;
|
||||
|
||||
|
||||
m_data->m_pluginManager.getRenderInterface()->copyCameraImageData(pixelRGBA, numRequestedPixels,
|
||||
depthBuffer, numRequestedPixels,
|
||||
|
||||
Reference in new issue
Block a user