DXGL r917 - Code Review
For
DXGL
(
recent comments
|
status changes
|
tags
|
authors
|
states
|
release notes
|
statistics
)
Jump to navigation
Jump to search
Repository:
DXGL
Revision:
<
r916
|
r917
|
r918
>
Date:
17:22, 15 April 2019
Author:
admin
Status:
new
Tags:
Comment:
Fix 8-bit display mode.
Modified paths:
/ddraw/glDirectDrawPalette.c
(modified) (
history
)
Diff
[
purge
]
Index: ddraw/glDirectDrawPalette.c
—
—
@@ -327,6 +327,7 @@
328
328
{
329
329
if (dwFlags & 0x800) memcpy(newpal->palette, DefaultPalette, 1024);
330
330
else return DDERR_INVALIDPARAMS;
331
+ newpal->palsize = 256;
331
332
}
332
333
else
333
334
{
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