diff options
-rw-r--r-- | char.c | 4 | ||||
-rw-r--r-- | private_data.h | 4 |
2 files changed, 4 insertions, 4 deletions
@@ -61,7 +61,7 @@ int verify_texture_params(struct doomdev_ioctl_create_texture *params) } int alloc_texture(struct doomdev_ioctl_create_texture *params, - struct texture_data *texture_data) + struct texture_data *texture_data) { int err; int i; @@ -238,7 +238,7 @@ long doom_create_flat(struct file *filp, unsigned long arg) ORFAIL(alloc_flat(params, flat_data), error_flat); - fd = anon_inode_getfd("doom_texture", &flat_fops, flat_data, 0); + fd = anon_inode_getfd("doom_flat", &flat_fops, flat_data, 0); ORFAIL(fd, error_inode); return fd; diff --git a/private_data.h b/private_data.h index f8f3057..e374f25 100644 --- a/private_data.h +++ b/private_data.h @@ -21,8 +21,8 @@ struct doom_data { uint32_t surf_src_pt; uint32_t texture_pt; uint32_t flat_addr; - uint32_t colormap_addr; - uint32_t translation_addr; + uint32_t colors_addr; + uint32_t trans_addr; uint32_t surf_dims_w; uint32_t surf_dims_h; uint32_t texture_dims_s; |