From 21fc60ebef3400137bd508e79d1c87214ca74c9b Mon Sep 17 00:00:00 2001
From: Turo Lamminen <turotl@gmail.com>
Date: Sat, 09 May 2015 17:14:55 +0000
Subject: [PATCH] Fix cubemap face offset calculation
---
mojodds.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/mojodds.h b/mojodds.h
index 711426e..3f9adee 100644
--- a/mojodds.h
+++ b/mojodds.h
@@ -35,14 +35,14 @@
unsigned int *_cubemapfacelen,
MOJODDS_textureType *_textureType);
int MOJODDS_getMipMapTexture(unsigned int miplevel, unsigned int glfmt,
- const void*_basetex, const unsigned long _basetexlen,
+ const void*_basetex,
unsigned int w, unsigned h,
const void **_tex, unsigned long *_texlen,
unsigned int *_texw, unsigned int *_texh);
int MOJODDS_getCubeFace(MOJODDS_cubeFace cubeFace, unsigned int miplevel,
unsigned int glfmt, const void*_basetex,
- unsigned long _basetexlen, unsigned int w, unsigned h,
+ unsigned long _cubemapfacelen, unsigned int w, unsigned h,
const void **_tex, unsigned long *_texlen,
unsigned int *_texw, unsigned int *_texh);
--
Gitblit v1.9.3