VirtualBox

儲存庫 vbox 的更動 55898


忽略:
時間撮記:
2015-5-18 上午09:45:59 (10 年 以前)
作者:
vboxsync
訊息:

casting non-sense.

檔案:
修改 1 筆資料

圖例:

未更動
新增
刪除
  • trunk/src/VBox/HostServices/SharedOpenGL/render/renderspu_cocoa.c

    r51442 r55898  
    8080    pWinInfo->currentCtx = NULL;
    8181
    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;
    8783
    8884    cocoaViewCreate(&pWinInfo->window, pWinInfo, pParentWin, pVisInfo->visAttribs);
     
    9692void renderspu_SystemReparentWindow(WindowInfo *pWinInfo)
    9793{
    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;
    10395    cocoaViewReparent(pWinInfo->window, pParentWin);
    10496}
     
    114106{
    115107    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;
    122109
    123110    /*pParentWin is unused in the call, otherwise it might hold incorrect value if for ex. last reparent call was for
注意: 瀏覽 TracChangeset 來幫助您使用更動檢視器

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette