Skip to content

Commit

Permalink
MorphOS: update STUB
Browse files Browse the repository at this point in the history
  • Loading branch information
BeWorld2018 committed Mar 6, 2024
1 parent 91c5df5 commit e3fb782
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/core/morphos/SDL_stubs.h
Original file line number Diff line number Diff line change
Expand Up @@ -911,3 +911,8 @@
#endif
STUB(SDL_SetWindowShape)
STUB(SDL_RenderViewportSet)
STUB(SDL_HasProperty)
STUB(SDL_qsort_r)
STUB(SDL_bsearch_r)


4 changes: 4 additions & 0 deletions src/core/morphos/sdk/clib/sdl3_protos.h
Original file line number Diff line number Diff line change
Expand Up @@ -891,5 +891,9 @@ int SDL_GetRenderColorScale(SDL_Renderer *renderer, float *scale);
int SDL_RenderGeometryRawFloat(SDL_Renderer *renderer, SDL_Texture *texture,const float *xy, int xy_stride,const SDL_FColor *color, int color_stride,const float *uv, int uv_stride,int num_vertices, const void *indices, int num_indices, int size_indices);
int SDL_SetWindowShape(SDL_Window *window, SDL_Surface *shape);
int SDL_SetRenderViewport(SDL_Renderer *renderer, const SDL_Rect *rect);
SDL_bool SDL_HasProperty(SDL_PropertiesID props, const char *name);
void SDL_qsort_r(void *base, size_t nmemb, size_t size, int (*compare) (void *, const void *, const void *), void *userdata);
void *SDL_bsearch_r(const void *key, const void *base, size_t nmemb, size_t size, int (*compare) (void *, const void *, const void *), void *userdata);

#endif
#endif
3 changes: 3 additions & 0 deletions src/core/morphos/sdk/fd/sdl3_lib.fd
Original file line number Diff line number Diff line change
Expand Up @@ -887,3 +887,6 @@ SDL_GetRenderColorScale(a,b)(sysv,r12base)
SDL_RenderGeometryRawFloat(a,b,c,d,e,f,g,h,i,j,k,l)(sysv,r12base)
SDL_SetWindowShape(a,b)(sysv,r12base)
SDL_RenderViewportSet(a,b)(sysv,r12base)
SDL_HasProperty(a,b)(sysv,r12base)
SDL_qsort_r(a,b,c,d,e)(sysv,r12base)
SDL_bsearch_r(a,b,c,d,e,f)(sysv,r12base)

0 comments on commit e3fb782

Please sign in to comment.