This repository was archived by the owner on Jun 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed
ultralight-java-native/src/main/c/src/java_bridges Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 1- 0.4.1
1+ 0.4.2
Original file line number Diff line number Diff line change @@ -399,15 +399,15 @@ namespace ultralight_java {
399399 auto target = env->NewObject (
400400 runtime.ultralight_render_target .clazz ,
401401 runtime.ultralight_render_target .constructor ,
402- render_target.is_empty ,
403- render_target.width ,
404- render_target.height ,
405- render_target.texture_id ,
406- render_target.texture_width ,
407- render_target.texture_height ,
402+ static_cast <jboolean>( render_target.is_empty ) ,
403+ static_cast <jlong>( render_target.width ) ,
404+ static_cast <jlong>( render_target.height ) ,
405+ static_cast <jlong>( render_target.texture_id ) ,
406+ static_cast <jlong>( render_target.texture_width ) ,
407+ static_cast <jlong>( render_target.texture_height ) ,
408408 runtime.ultralight_bitmap_format .constants .to_java (env, render_target.texture_format ),
409409 uv_coords,
410- render_target.render_buffer_id );
410+ static_cast <jlong>( render_target.render_buffer_id ) );
411411
412412 return target;
413413 }
You can’t perform that action at this time.
0 commit comments