File tree Expand file tree Collapse file tree 4 files changed +6
-8
lines changed
Expand file tree Collapse file tree 4 files changed +6
-8
lines changed Original file line number Diff line number Diff line change 9898 gh release create $TAG_NAME \
9999 artifacts/i686-pc-windows-msvc-dll/${{ env.NAME_WIN32 }} \
100100 artifacts/x86_64-pc-windows-msvc-dll/${{ env.NAME_WIN64 }} \
101- --title "v $TAG_NAME" \
101+ --title "$TAG_NAME" \
102102 --notes "Automated plugin release"
103103 env :
104104 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -2,13 +2,13 @@ name: Notify WaspLib2 of new release.
22
33on :
44 release :
5- types : [published ]
5+ types : [created ]
66
77jobs :
88 notify :
99 runs-on : ubuntu-latest
1010 steps :
11- - name : Trigger repository_dispatch in target repo
11+ - name : Send notification
1212 env :
1313 TARGET_REPO : Torwent/WaspLib2
1414 TOKEN : ${{ secrets.PERSONAL_ACCESS_TOKEN }}
Original file line number Diff line number Diff line change 1- //Client sided code. Everything on this file is ran on client.
2-
31use gl:: { CURRENT_PROGRAM , VERTEX_ARRAY_BINDING } ;
42use lazy_static:: lazy_static;
53use retour:: GenericDetour ;
@@ -303,8 +301,8 @@ unsafe extern "system" fn hooked_wgl_swap_buffers(hdc: HDC) -> BOOL {
303301
304302 restore_state ( prev_program, prev_vao) ;
305303
306- let detour = ORIGINAL_WGL_SWAPBUFFERS . get ( ) . unwrap ( ) ;
307- detour . call ( hdc)
304+ let original = ORIGINAL_WGL_SWAPBUFFERS . get ( ) . unwrap ( ) ;
305+ original . call ( hdc)
308306}
309307
310308unsafe fn hook_wgl_swap_buffers ( ) {
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ pub static mut MODULE: HMODULE = HMODULE(null_mut());
5353#[ no_mangle]
5454pub extern "system" fn DllMain (
5555 hinst_dll : HINSTANCE ,
56- fdw_reason : u32 , // DWORD is u32 in windows crate
56+ fdw_reason : u32 ,
5757 _lpv_reserved : * mut c_void ,
5858) -> BOOL {
5959 unsafe { MODULE = HMODULE ( hinst_dll. 0 ) } ;
You can’t perform that action at this time.
0 commit comments