forked from KolibriOS/kolibrios
sna: fixed invalid structure type.
git-svn-id: svn://kolibrios.org@5059 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
43e5c3605e
commit
9e370ade33
@ -5667,9 +5667,10 @@ int kgem_init_fb(struct kgem *kgem, struct sna_fb *fb)
|
||||
if (ret != 0) {
|
||||
printf("Couldn't reference %s handle 0x%08x\n",
|
||||
fb->name, fb->name);
|
||||
return NULL;
|
||||
return 0;
|
||||
}
|
||||
size = open_arg.size / PAGE_SIZE;
|
||||
|
||||
size = fb->pitch * fb->height / PAGE_SIZE;
|
||||
|
||||
bo = __kgem_bo_alloc(open_arg.handle, size);
|
||||
if (!bo) {
|
||||
|
@ -1084,7 +1084,7 @@ int sna_blit_tex(bitmap_t *bitmap, int scale, int vsync,
|
||||
{
|
||||
surface_t *sf = to_surface(bitmap);
|
||||
|
||||
struct drm_i915_mask_update update;
|
||||
struct drm_i915_mask update;
|
||||
|
||||
struct sna_composite_op composite;
|
||||
struct _Pixmap src, dst, mask;
|
||||
|
15
contrib/sdk/sources/Intel-2D/uxa.ver
Normal file
15
contrib/sdk/sources/Intel-2D/uxa.ver
Normal file
@ -0,0 +1,15 @@
|
||||
LIBDRM {
|
||||
global: DllStartup;
|
||||
DrvInit;
|
||||
uxa_bitmap_from_handle;
|
||||
uxa_blit_tex;
|
||||
sna_create_mask;
|
||||
uxa_set_bo_handle;
|
||||
|
||||
local: __chkstk;
|
||||
__chkstk_ms;
|
||||
_alloca;
|
||||
__uxa_lock;
|
||||
_nm__tls_alloc;
|
||||
*;
|
||||
};
|
Loading…
Reference in New Issue
Block a user