儲存庫 vbox 的更動 55898
- 時間撮記:
- 2015-5-18 上午09:45:59 (10 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa.c
r51442 r55898 80 80 pWinInfo->currentCtx = NULL; 81 81 82 #ifdef __LP64__ 83 NativeNSViewRef pParentWin = (NativeNSViewRef)render_spu_parent_window_id; 84 #else /* __LP64__ */ 85 NativeNSViewRef pParentWin = (NativeNSViewRef)(uint32_t)render_spu_parent_window_id; 86 #endif /* __LP64__ */ 82 NativeNSViewRef pParentWin = (NativeNSViewRef)(uintptr_t)render_spu_parent_window_id; 87 83 88 84 cocoaViewCreate(&pWinInfo->window, pWinInfo, pParentWin, pVisInfo->visAttribs); … … 96 92 void renderspu_SystemReparentWindow(WindowInfo *pWinInfo) 97 93 { 98 #ifdef __LP64__ 99 NativeNSViewRef pParentWin = (NativeNSViewRef)render_spu_parent_window_id; 100 #else /* __LP64__ */ 101 NativeNSViewRef pParentWin = (NativeNSViewRef)(uint32_t)render_spu_parent_window_id; 102 #endif /* __LP64__ */ 94 NativeNSViewRef pParentWin = (NativeNSViewRef)(uintptr_t)render_spu_parent_window_id; 103 95 cocoaViewReparent(pWinInfo->window, pParentWin); 104 96 } … … 114 106 { 115 107 CRASSERT(pWinInfo); 116 117 #ifdef __LP64__ 118 NativeNSViewRef pParentWin = (NativeNSViewRef)render_spu_parent_window_id; 119 #else /* __LP64__ */ 120 NativeNSViewRef pParentWin = (NativeNSViewRef)(uint32_t)render_spu_parent_window_id; 121 #endif /* __LP64__ */ 108 NativeNSViewRef pParentWin = (NativeNSViewRef)(uintptr_t)render_spu_parent_window_id; 122 109 123 110 /*pParentWin is unused in the call, otherwise it might hold incorrect value if for ex. last reparent call was for
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器