fix native memory pool (#7615)

This commit is contained in:
coulsonwang
2020-10-28 18:24:23 +08:00
committed by GitHub
parent 5c3e8883b5
commit 663aa1bf52
3 changed files with 4 additions and 2 deletions
+2
View File
@@ -6,6 +6,8 @@
import * as pipeline from './define';
export { pipeline };
export * from './pass-phase';
export { RenderPipeline } from './render-pipeline';
export { RenderFlow } from './render-flow';
export { RenderStage } from './render-stage';
+1 -1
View File
@@ -869,7 +869,7 @@ const cameraViewDataType: BufferDataTypeManifest<typeof CameraView> = {
[CameraView.FRUSTUM]: BufferDataType.UINT32,
[CameraView.FORWARD]: BufferDataType.FLOAT32,
[CameraView.POSITION]: BufferDataType.FLOAT32,
[CameraView.VIEW_PORT]: BufferDataType.UINT32,
[CameraView.VIEW_PORT]: BufferDataType.FLOAT32,
[CameraView.CLEAR_COLOR]: BufferDataType.FLOAT32,
[CameraView.MAT_VIEW]: BufferDataType.FLOAT32,
[CameraView.MAT_VIEW_PROJ]: BufferDataType.FLOAT32,
+1 -1
View File
@@ -394,7 +394,7 @@ export class SplashScreen {
private initCMD () {
const device = this.device as GFXDevice;
this.renderArea = new GFXRect(0, 0, device.width, device.height);
this.renderArea = new GFXRect(0, 0, device.nativeWidth, device.nativeHeight);
this.framebuffer = this.root.mainWindow!.framebuffer;
this.cmdBuff = device.commandBuffer;