mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 16:12:40 +08:00
fix native memory pool (#7615)
This commit is contained in:
@@ -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';
|
||||
|
||||
@@ -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,
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user