mirror of
https://github.com/joncampbell123/dosbox-x.git
synced 2025-05-10 04:08:57 +08:00
remove --disable-opengl from build scripts. typecast array entries in
vga_other.cpp to get compiler to shut up about int to Bitu type conversion.
This commit is contained in:
parent
ba37aa74af
commit
6727a01157
2
build
2
build
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
chmod +x configure
|
chmod +x configure
|
||||||
./configure --disable-opengl --enable-core-inline --disable-debug --prefix=/usr || exit 1
|
./configure --enable-core-inline --disable-debug --prefix=/usr || exit 1
|
||||||
make -j3 || exit 1
|
make -j3 || exit 1
|
||||||
|
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
chmod +x configure
|
chmod +x configure
|
||||||
./configure --disable-opengl --enable-core-inline --enable-debug=heavy --prefix=/usr || exit 1
|
./configure --enable-core-inline --enable-debug=heavy --prefix=/usr || exit 1
|
||||||
make -j3 || exit 1
|
make -j3 || exit 1
|
||||||
|
|
||||||
|
@ -311,9 +311,9 @@ static void update_cga16_color(void) {
|
|||||||
}
|
}
|
||||||
Bitu CGApal[4] = {
|
Bitu CGApal[4] = {
|
||||||
overscan,
|
overscan,
|
||||||
2 + (color_sel||bw ? 1 : 0) + (background_i ? 8 : 0),
|
(Bitu)(2 + (color_sel||bw ? 1 : 0) + (background_i ? 8 : 0)),
|
||||||
4 + (color_sel&&!bw? 1 : 0) + (background_i ? 8 : 0),
|
(Bitu)(4 + (color_sel&&!bw? 1 : 0) + (background_i ? 8 : 0)),
|
||||||
6 + (color_sel||bw ? 1 : 0) + (background_i ? 8 : 0)
|
(Bitu)(6 + (color_sel||bw ? 1 : 0) + (background_i ? 8 : 0))
|
||||||
};
|
};
|
||||||
for (Bit8u x=0; x<4; x++) { // Position of pixel in question
|
for (Bit8u x=0; x<4; x++) { // Position of pixel in question
|
||||||
bool even = (x & 1) == 0;
|
bool even = (x & 1) == 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user