mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-27 08:50:02 +03:00
[project @ 2006-03-25 06:21:21 by adrianl]
Correct operation in non-square 32bpp modes svn path=/import/netsurf/; revision=2160
This commit is contained in:
parent
74a86c3751
commit
29802d8404
@ -125,9 +125,6 @@ void ro_gui_buffer_open(wimp_draw *redraw) {
|
||||
#ifdef BUFFER_EMULATE_32BPP
|
||||
mode = tinct_SPRITE_MODE;
|
||||
#else
|
||||
if (bpp == 5) {
|
||||
mode = tinct_SPRITE_MODE;
|
||||
} else {
|
||||
if ((error = xwimpreadsysinfo_wimp_mode(&mode)) != NULL) {
|
||||
LOG(("Error reading mode '%s'", error->errmess));
|
||||
ro_gui_buffer_free();
|
||||
@ -161,7 +158,6 @@ void ro_gui_buffer_open(wimp_draw *redraw) {
|
||||
mode = (os_mode)((type << 27) | ((180 >> yeig) << 14) |
|
||||
((180 >> xeig) << 1) | 1);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef BUFFER_EXCLUSIVE_USER_REDRAW
|
||||
|
Loading…
Reference in New Issue
Block a user