Replace import_load with using import .

This commit is contained in:
Ginger Bill
2017-08-27 17:03:27 +01:00
parent 6707c8750e
commit b9e347ef50
26 changed files with 211 additions and 4132 deletions

View File

@@ -1,5 +1,5 @@
foreign_system_library "opengl32.lib" when ODIN_OS == "windows";
import . "windows.odin";
using import "windows.odin";
CONTEXT_MAJOR_VERSION_ARB :: 0x2091;

View File

@@ -457,7 +457,7 @@ foreign gdi32 {
stretch_dibits :: proc(hdc: Hdc,
x_dst, y_dst, width_dst, height_dst: i32,
x_src, y_src, width_src, header_src: i32,
bits: rawptr, bits_info: ^BitmapInfo,
bits: rawptr, bits_info: ^Bitmap_Info,
usage: u32,
rop: u32) -> i32 #cc_std #link_name "StretchDIBits" ---;
@@ -572,7 +572,7 @@ Bitmap_Info_Header :: struct #ordered {
clr_used: u32;
clr_important: u32;
}
BitmapInfo :: struct #ordered {
Bitmap_Info :: struct #ordered {
using header: Bitmap_Info_Header;
colors: [1]Rgb_Quad;
}