DXGL r61 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r60
|
r61
|
r62
>
Date:
20:08, 31 December 2011
Author:
admin
Status:
new
Tags:
Comment:
Remove RGB565 format; has compatibility issues
Modified paths:
/ddraw/glDirectDrawSurface.cpp
(modified) (
history
)
/ddraw/glExtensions.h
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glDirectDrawSurface.cpp
—
—
@@ -340,7 +340,7 @@
341
341
case 16:
342
342
texformat = GL_RGB;
343
343
texformat2 = GL_UNSIGNED_SHORT_5_6_5;
344
- texformat3 = GL_RGB565;
344
+ texformat3 = GL_RGB;
345
345
ddsd.ddpfPixelFormat.dwFlags = DDPF_RGB;
346
346
ddsd.ddpfPixelFormat.dwRBitMask = 0xF800;
347
347
ddsd.ddpfPixelFormat.dwGBitMask = 0x7E0;
Index: ddraw/glExtensions.h
—
—
@@ -25,9 +25,6 @@
26
26
#ifndef GL_STENCIL_BUFFER
27
27
#define GL_STENCIL_BUFFER 0x8224
28
28
#endif
29
-#ifndef GL_RGB565
30
-#define GL_RGB565 0x8D62
31
-#endif
32
29
33
30
extern int GLEXT_ARB_framebuffer_object;
34
31
extern int GLEXT_EXT_framebuffer_object;
Navigation menu
Personal tools
Log in
Namespaces
Special page
English
expanded
collapsed
Views
More
expanded
collapsed
Search
Navigation
Home
Main page
Recent changes
Random page
MediaWiki help
Introduction
Progress
Downloads
Source code
Build from source
AppDB
Bug reports
Forums
Tools
Special pages
Printable version