Displaying 1 result from an estimated 1 matches for "4170c70".
Did you mean:
41700
2007 May 23
1
[PATCH] Fix imageBufferToTexture for MSBFirst platforms.
...my PowerBook.
Given that the preprocessor test was reversed when the code was reorganized and
nobody on !MSBFirst platforms complained, one code path should suffice.
---
src/texture.c | 5 -----
1 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/src/texture.c b/src/texture.c
index 4170c70..7021643 100644
--- a/src/texture.c
+++ b/src/texture.c
@@ -164,13 +164,8 @@ imageBufferToTexture (CompScreen *screen,
unsigned int width,
unsigned int height)
{
-#if IMAGE_BYTE_ORDER == MSBFirst
- return imageToTexture (screen, texture, image, width, height,
- GL_BGRA,...