Skip to content

Commit

Permalink
none
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin20150405 committed Feb 25, 2018
1 parent a775a21 commit f4a52ff
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
Binary file modified pano360demo/release/pano360demo-release.apk
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,8 @@ private void start(){
.setFilePath(filePath)
.setMimeType(mimeType)
.setPlaneModeEnabled(planeModeEnabled)
.setRemoveHotspot(false)
//set it false to see default hotspot
.setRemoveHotspot(true)
.setVideoHotspotPath(videoHotspotPath);

if((mimeType & MimeType.BITMAP)!=0){
Expand Down
4 changes: 2 additions & 2 deletions vrlib/src/main/java/com/martin/ads/vrlib/PanoRender.java
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ public void onDrawFrame(GL10 glUnused) {
panoMediaPlayerWrapper.doTextureUpdate(((OESFilter)firstPassFilter).getSTMatrix());
}
filterGroup.drawToFBO(0,fbo);
fbo.unbind();
screenDrawer.onDrawFrame(fbo.getFrameBufferTextureId());
if(fbo!=null)
screenDrawer.onDrawFrame(fbo.getFrameBufferTextureId());

if (saveImg){
BitmapUtils.sendImage(surfaceWidth, surfaceHeight,statusHelper.getContext());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ public void drawToFBO(int textureId,FBO fbo) {
}else{
filter.onDrawFrame(previousTexture);
}
fbo.unbind();
}
}
}
Expand Down

0 comments on commit f4a52ff

Please sign in to comment.