Skip to content

Commit

Permalink
Merge pull request #95 from melonedo/master
Browse files Browse the repository at this point in the history
Reset performance counter with GPU image
  • Loading branch information
MartinPulec authored Oct 7, 2024
2 parents 1343cc5 + e3ba3f6 commit cbe0dd6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/gpujpeg_encoder.c
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ gpujpeg_encoder_encode(struct gpujpeg_encoder* encoder, const struct gpujpeg_par
}
else if (input->type == GPUJPEG_ENCODER_INPUT_GPU_IMAGE) {
coder->d_data_raw = input->image;
coder->duration_memory_to.started = 0;
}
else if ( input->type == GPUJPEG_ENCODER_INPUT_OPENGL_TEXTURE ) {
assert(input->texture != NULL);
Expand Down

0 comments on commit cbe0dd6

Please sign in to comment.