Skip to content

Commit

Permalink
Fix deprecated macro
Browse files Browse the repository at this point in the history
  • Loading branch information
zshipko committed May 18, 2022
1 parent 59b2670 commit 67b5cdd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion display/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ value bimage_create_texture(value width, value height, value channels,

texture_color = Int_val(channels) == 3 ? GL_RGB : GL_RGBA;

switch (Caml_ba_array_val(data)->flags & BIGARRAY_KIND_MASK) {
switch (Caml_ba_array_val(data)->flags & CAML_BA_KIND_MASK) {
case CAML_BA_UINT8:
texture_kind = GL_UNSIGNED_BYTE;
break;
Expand Down

0 comments on commit 67b5cdd

Please sign in to comment.